Skip to content

Commit a53a9f3

Browse files
committed
optimization
1 parent 67ce6bf commit a53a9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SQLiteData/CloudKit/SyncMetadata.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
// NB: Workaround for https://github.com/groue/GRDB.swift/discussions/1844
135135
public var isShared: some QueryExpression<Bool> {
136136
#sql("""
137-
(\(QueryValue.self)."isShared" AND (\(self.share) OR 1))
137+
((\(QueryValue.self)."isShared" = 1) AND (\(self.share) OR 1))
138138
""")
139139
}
140140
}

0 commit comments

Comments
 (0)