diff --git a/angel_orm/lib/src/query_base.dart b/angel_orm/lib/src/query_base.dart index 23ae1720..a8178195 100644 --- a/angel_orm/lib/src/query_base.dart +++ b/angel_orm/lib/src/query_base.dart @@ -27,7 +27,7 @@ abstract class QueryBase { if (!aliases.containsKey(k)) { return cast == null ? k : 'CAST ($k AS $cast)'; } else { - var inner = cast == null ? k : '(CAST ($k AS $cast))'; + var inner = cast == null ? k : '(CAST ($k AS $cast))'; return '$inner AS ${aliases[k]}'; } }).join(', ');