Skip to content

Commit 5d78583

Browse files
authored
Clarify that onDuplicate only respects keys
1 parent 41d5f93 commit 5d78583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ export type CollectionImportOptions = {
725725
*/
726726
waitForSync?: boolean;
727727
/**
728-
* Controls behavior when a unique constraint is violated.
728+
* Controls behavior when a unique constraint is violated on the document key.
729729
*
730730
* * `"error"`: the document will not be imported.
731731
* * `"update`: the document will be merged into the existing document.

0 commit comments

Comments
 (0)