Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 56b29e1

Browse files
committed
Update PgSql.cs
1 parent 1ac668b commit 56b29e1

File tree

1 file changed

+1
-1
lines changed
  • src/ServiceStack.OrmLite.PostgreSQL

1 file changed

+1
-1
lines changed

src/ServiceStack.OrmLite.PostgreSQL/PgSql.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static string Array<T>(params T[] items) =>
1313
"ARRAY[" + PostgreSqlDialect.Provider.SqlSpread(items) + "]";
1414

1515
public static string Array<T>(T[] items, bool nullIfEmpty) =>
16-
nullIfEmpty && items == null || items.Length == 0
16+
nullIfEmpty && (items == null || items.Length == 0)
1717
? "null"
1818
: "ARRAY[" + PostgreSqlDialect.Provider.SqlSpread(items) + "]";
1919
}

0 commit comments

Comments
 (0)