From 5e0b2c96d845be3058429d222391feeab1f751ec Mon Sep 17 00:00:00 2001 From: Austin Drenski Date: Tue, 29 May 2018 17:12:29 -0400 Subject: [PATCH] Rebase + fixing mistakes during rebase --- src/EFCore.PG/Query/Sql/Internal/NpgsqlQuerySqlGenerator.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/EFCore.PG/Query/Sql/Internal/NpgsqlQuerySqlGenerator.cs b/src/EFCore.PG/Query/Sql/Internal/NpgsqlQuerySqlGenerator.cs index 972ea87754..f4a32ae0b9 100644 --- a/src/EFCore.PG/Query/Sql/Internal/NpgsqlQuerySqlGenerator.cs +++ b/src/EFCore.PG/Query/Sql/Internal/NpgsqlQuerySqlGenerator.cs @@ -197,9 +197,7 @@ protected override Expression VisitIndex(IndexExpression expression) Visit(GenerateOneBasedIndexExpression(expression.Arguments[i])); Sql.Append(']'); } - Sql.Append(')'); - return expression; } @@ -208,6 +206,7 @@ protected override Expression VisitIndex(IndexExpression expression) /// public Expression VisitArrayAnyAll(ArrayAnyAllExpression arrayAnyAllExpression) { + Visit(arrayAnyAllExpression.Operand); Sql.Append(' '); Sql.Append(arrayAnyAllExpression.Operator); Sql.Append(' ');