File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ type CollectionDocuments interface {
5454 // If a documents element already contains a `_key` field, this will be used as key of the new document,
5555 // otherwise a unique key is created.
5656 // If a documents element contains a `_key` field with a duplicate key, other any other field violates an index constraint,
57- // a ConflictError is returned in its inded in the errors slice.
57+ // a ConflictError is returned in its index in the errors slice.
5858 // To return the NEW documents, prepare a context with `WithReturnNew`. The data argument passed to `WithReturnNew` must be
5959 // a slice with the same number of entries as the `documents` slice.
6060 // To wait until document has been synced to disk, prepare a context with `WithWaitForSync`.
@@ -150,7 +150,7 @@ const (
150150 // This is the default setting.
151151 ImportOnDuplicateError = ImportOnDuplicate ("error" )
152152 // ImportOnDuplicateUpdate will update an existing document in the database with the data specified in the request.
153- // Attributes of the existing document that are not present in the request will be preseved .
153+ // Attributes of the existing document that are not present in the request will be preserved .
154154 ImportOnDuplicateUpdate = ImportOnDuplicate ("update" )
155155 // ImportOnDuplicateReplace will replace an existing document in the database with the data specified in the request.
156156 ImportOnDuplicateReplace = ImportOnDuplicate ("replace" )
You can’t perform that action at this time.
0 commit comments