We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67ce6bf commit a53a9f3Copy full SHA for a53a9f3
Sources/SQLiteData/CloudKit/SyncMetadata.swift
@@ -134,7 +134,7 @@
134
// NB: Workaround for https://github.com/groue/GRDB.swift/discussions/1844
135
public var isShared: some QueryExpression<Bool> {
136
#sql("""
137
- (\(QueryValue.self)."isShared" AND (\(self.share) OR 1))
+ ((\(QueryValue.self)."isShared" = 1) AND (\(self.share) OR 1))
138
""")
139
}
140
0 commit comments