File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Sources/SQLiteData/CloudKit Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 139139 }
140140
141141 // NB: Workaround for https://github.com/groue/GRDB.swift/discussions/1844
142- public var isShared : some QueryExpression < Bool > {
142+ public var hasLastKnownServerRecord : some QueryExpression < Bool > {
143143 #sql(
144144 """
145- (( \( self . _isShared ) = 1) AND ( \( self . share ) OR 1))
145+ (( \( self . _hasLastKnownServerRecord ) = 1) AND ( \( self . lastKnownServerRecord ) OR 1))
146146 """
147147 )
148148 }
149149
150150 // NB: Workaround for https://github.com/groue/GRDB.swift/discussions/1844
151- public var hasLastKnownServerRecord : some QueryExpression < Bool > {
151+ public var isShared : some QueryExpression < Bool > {
152152 #sql(
153153 """
154- (( \( self . _hasLastKnownServerRecord ) = 1) AND ( \( self . lastKnownServerRecord ) OR 1))
154+ (( \( self . _isShared ) = 1) AND ( \( self . share ) OR 1))
155155 """
156156 )
157157 }
You can’t perform that action at this time.
0 commit comments