Skip to content

Commit 652e9ce

Browse files
authored
Add missing reserved CloudKit keywords (#255)
* Add missing reserved CloudKit keywords We missed a couple. * Clarify note on reserved CloudKit fields Updated the note about reserved CloudKit fields to clarify that an exhaustive list has not been published by Apple.
1 parent c6a17b9 commit 652e9ce

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

  • Sources/SQLiteData/Documentation.docc/Articles

Sources/SQLiteData/Documentation.docc/Articles/CloudKit.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,15 +289,18 @@ In the process of sending data from your database to CloudKit, the library turns
289289
internally by CloudKit and are reserved for their use only. This means those keys cannot be used
290290
as field names in your Swift data types or SQLite tables.
291291

292-
Here is an exhaustive list of those reserved fields:
292+
While Apple has not published an exhaustive list of reserved keywords, the following should cover
293+
most known cases:
293294

294-
* `recordID`
295-
* `recordType`
296295
* `creationDate`
297296
* `creatorUserRecordID`
298-
* `modificationDate`
297+
* `etag`
299298
* `lastModifiedUserRecordID`
299+
* `modificationDate`
300+
* `modifiedByDevice`
300301
* `recordChangeTag`
302+
* `recordID`
303+
* `recordType`
301304

302305
## Backwards compatible migrations
303306

0 commit comments

Comments
 (0)