@@ -743,6 +743,13 @@ export type CollectionInsertOptions = {
743743 * Default: `false`
744744 */
745745 refillIndexCaches ?: boolean ;
746+ /**
747+ * If set, the attribute with the name specified by the option is looked up
748+ * in the stored document and the attribute value is compared numerically to
749+ * the value of the versioning attribute in the supplied document that is
750+ * supposed to update/replace it.
751+ */
752+ versionAttribute ?: string ;
746753} ;
747754
748755/**
@@ -796,6 +803,13 @@ export type CollectionReplaceOptions = {
796803 * Default: `false`
797804 */
798805 refillIndexCaches ?: boolean ;
806+ /**
807+ * If set, the attribute with the name specified by the option is looked up
808+ * in the stored document and the attribute value is compared numerically to
809+ * the value of the versioning attribute in the supplied document that is
810+ * supposed to update/replace it.
811+ */
812+ versionAttribute ?: string ;
799813} ;
800814
801815/**
@@ -864,6 +878,13 @@ export type CollectionUpdateOptions = {
864878 * Default: `false`
865879 */
866880 refillIndexCaches ?: boolean ;
881+ /**
882+ * If set, the attribute with the name specified by the option is looked up
883+ * in the stored document and the attribute value is compared numerically to
884+ * the value of the versioning attribute in the supplied document that is
885+ * supposed to update/replace it.
886+ */
887+ versionAttribute ?: string ;
867888} ;
868889
869890/**
0 commit comments