Store some fields in CloudKit unencrypted #244
finnvoor
started this conversation in
CloudKit Preview
Replies: 1 comment 1 reply
-
|
@finnvoor We could definitely support something like: try SyncEngine(
for: $0.defaultDatabase,
tables: RemindersList.self, Reminder.self,
unencryptedFields: RemindersList.title, Reminder.title
)And maybe even a flipped initializer for Can you explain a bit more about your use case, though? What kind of CloudKit querying do you need to do that can't be done using SQLiteData's tools? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, sqlite-data seems to encrypt every value stored on CloudKit-synced CKRecords at the moment. CloudKit doesn’t support indexes on encrypted fields, so I can't query the CloudKit database using any predicates or sort descriptors (i.e. sort by
addedAtdate). It would be nice if some fields could be marked as unencrypted for use when querying the CloudKit database outside of sqlite-data.Beta Was this translation helpful? Give feedback.
All reactions