Skip to content

Commit 0a5e9bc

Browse files
Merge branch 'docs' into mongdb-cloudcode-template
2 parents 3a80c8d + cfa0543 commit 0a5e9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/client/data/sequential-id-mapping.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords: ["data", "uuid", "map", "auto increment", "id", "sequential id"]
77

88
# Introduction
99
When auto-incrementing / sequential IDs are used on the backend database, the ID can only be generated on the backend database, and not on the client while offline.
10-
To handle this, you can use a secondary UUID on the client, then map them to a sequential ID when performing an update on the backend database.
10+
To handle this, you can use a secondary UUID on the client, then map it to a sequential ID when performing an update on the backend database.
1111
This allows using a sequential primary key for each record, with a UUID as a secondary ID.
1212

1313
<Note>

0 commit comments

Comments
 (0)