@wix/wix-data-items-sdk 1.0.198 → 1.0.200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/data-v2-data-item-items.universal.d.ts +11 -9
- package/build/cjs/src/data-v2-data-item-items.universal.js +11 -9
- package/build/cjs/src/data-v2-data-item-items.universal.js.map +1 -1
- package/build/es/src/data-v2-data-item-items.universal.d.ts +11 -9
- package/build/es/src/data-v2-data-item-items.universal.js +11 -9
- package/build/es/src/data-v2-data-item-items.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -46,7 +46,7 @@ import { WixDataUpdateOptions, WixDataReadOptions, WixDataOptions, WixDataAggreg
|
|
|
46
46
|
* > Single Item Collection see the `update()` and `save()` methods.
|
|
47
47
|
* > - The `insert()` method does not support multi-reference fields. For
|
|
48
48
|
* > multi-reference fields, use `insertReference()`.
|
|
49
|
-
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling insert() fails and issues an error.
|
|
49
|
+
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling `insert()` fails and issues an error.
|
|
50
50
|
* @public
|
|
51
51
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
52
52
|
* @param item - Data item to insert.
|
|
@@ -140,7 +140,7 @@ export declare function update(dataCollectionId: string, item: WixDataItem, opti
|
|
|
140
140
|
* > error is thrown.
|
|
141
141
|
* > - The `save()` method does not support multi-reference fields. For
|
|
142
142
|
* > multi-reference fields, use `insertReference() `or `replaceReferences()`.
|
|
143
|
-
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling save() fails and issues an error.
|
|
143
|
+
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling `save()` fails and issues an error.
|
|
144
144
|
* @public
|
|
145
145
|
* @documentationMaturity preview
|
|
146
146
|
* @requiredField dataCollectionId
|
|
@@ -164,7 +164,7 @@ export declare function save(dataCollectionId: string, item: Partial<WixDataItem
|
|
|
164
164
|
* referenced item is returned. To return the values of the referenced items
|
|
165
165
|
* use `query()` and `include()`.
|
|
166
166
|
*
|
|
167
|
-
* If the get() method is passed the ID of a hidden item, it returns null.
|
|
167
|
+
* If the `get()` method is passed the ID of a hidden item, it returns null.
|
|
168
168
|
*
|
|
169
169
|
* Calling the `get()` method triggers the `beforeGet()` and `afterGet()`
|
|
170
170
|
* hooks if they have been defined.
|
|
@@ -302,7 +302,7 @@ export declare function truncate(dataCollectionId: string): Promise<void>;
|
|
|
302
302
|
* @documentationMaturity preview
|
|
303
303
|
* @requiredField dataCollectionId
|
|
304
304
|
* @requiredField items
|
|
305
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
305
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
306
306
|
* @param items - Data items to insert.
|
|
307
307
|
* @param options - Options to use when processing this operation.
|
|
308
308
|
* @permissionScope Write Data Items
|
|
@@ -329,7 +329,7 @@ export declare function bulkInsert(dataCollectionId: string, items: Partial<WixD
|
|
|
329
329
|
*
|
|
330
330
|
* > **Warning:**
|
|
331
331
|
* > If an existing item in the specified collection matches the `_id` of the specified item, `bulkUpdate()` replaces the existing item's property values with the ones in the specified item. **If the existing item had properties with values and those properties were not included in the specified item, the values in those properties are lost.**
|
|
332
|
-
*
|
|
332
|
+
* >
|
|
333
333
|
* > The item's `_updatedDate` property is also updated to the current date.
|
|
334
334
|
*
|
|
335
335
|
* Any valid JavaScript object can be used as a property value. The
|
|
@@ -356,7 +356,7 @@ export declare function bulkInsert(dataCollectionId: string, items: Partial<WixD
|
|
|
356
356
|
* @documentationMaturity preview
|
|
357
357
|
* @requiredField dataCollectionId
|
|
358
358
|
* @requiredField items
|
|
359
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
359
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
360
360
|
* @param items - Data items to update.
|
|
361
361
|
* @param options - Options to use when processing this operation.
|
|
362
362
|
* @permissionScope Write Data Items
|
|
@@ -408,7 +408,7 @@ export declare function bulkUpdate(dataCollectionId: string, items: WixDataItem[
|
|
|
408
408
|
* @documentationMaturity preview
|
|
409
409
|
* @requiredField dataCollectionId
|
|
410
410
|
* @requiredField items
|
|
411
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
411
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
412
412
|
* @param items - Data items to save.
|
|
413
413
|
* @param options - Options to use when processing this operation.
|
|
414
414
|
* @permissionScope Write Data Items
|
|
@@ -444,7 +444,7 @@ export declare function bulkSave(dataCollectionId: string, items: Partial<WixDat
|
|
|
444
444
|
* @documentationMaturity preview
|
|
445
445
|
* @requiredField dataCollectionId
|
|
446
446
|
* @requiredField dataItemIds
|
|
447
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
447
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
448
448
|
* @param itemIds - IDs of the items to remove. The array must contain at least one item. Passing an empty array returns an error.
|
|
449
449
|
* @param options - Options to use when processing this operation.
|
|
450
450
|
* @permissionScope Write Data Items
|
|
@@ -569,7 +569,9 @@ export declare function bulkPatch(dataCollectionId: string, itemIds: string[]):
|
|
|
569
569
|
*
|
|
570
570
|
* The `query()` method builds a query to retrieve data items from a collection and returns a `WixDataQuery` object, which contains the query definition.
|
|
571
571
|
*
|
|
572
|
-
* You can refine the query by chaining `WixDataQuery` methods onto the query. `WixDataQuery` methods enable you to sort, filter, and control the results that `query()` returns.
|
|
572
|
+
* You can refine the query by chaining `WixDataQuery` methods onto the query. `WixDataQuery` methods enable you to sort, filter, and control the results that `query()` returns.
|
|
573
|
+
*
|
|
574
|
+
* To set the query options, use the `options` parameter in the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-query/find) or [`distinct()`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-query/distinct) methods.
|
|
573
575
|
*
|
|
574
576
|
* The methods that are chained to `query()` are applied in the order they are called. For example, if you sort on an `age` field in ascending order and then on a `name` field in descending order, the results are sorted first by the age of the items and then, if there are multiple results with the same age, the items are sorted by name in descending order, per age value.
|
|
575
577
|
*
|
|
@@ -72,7 +72,7 @@ Object.defineProperty(exports, "QueryBase", { enumerable: true, get: function ()
|
|
|
72
72
|
* > Single Item Collection see the `update()` and `save()` methods.
|
|
73
73
|
* > - The `insert()` method does not support multi-reference fields. For
|
|
74
74
|
* > multi-reference fields, use `insertReference()`.
|
|
75
|
-
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling insert() fails and issues an error.
|
|
75
|
+
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling `insert()` fails and issues an error.
|
|
76
76
|
* @public
|
|
77
77
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
78
78
|
* @param item - Data item to insert.
|
|
@@ -172,7 +172,7 @@ async function update(dataCollectionId, item, options) {
|
|
|
172
172
|
* > error is thrown.
|
|
173
173
|
* > - The `save()` method does not support multi-reference fields. For
|
|
174
174
|
* > multi-reference fields, use `insertReference() `or `replaceReferences()`.
|
|
175
|
-
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling save() fails and issues an error.
|
|
175
|
+
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling `save()` fails and issues an error.
|
|
176
176
|
* @public
|
|
177
177
|
* @documentationMaturity preview
|
|
178
178
|
* @requiredField dataCollectionId
|
|
@@ -199,7 +199,7 @@ async function save(dataCollectionId, item, options) {
|
|
|
199
199
|
* referenced item is returned. To return the values of the referenced items
|
|
200
200
|
* use `query()` and `include()`.
|
|
201
201
|
*
|
|
202
|
-
* If the get() method is passed the ID of a hidden item, it returns null.
|
|
202
|
+
* If the `get()` method is passed the ID of a hidden item, it returns null.
|
|
203
203
|
*
|
|
204
204
|
* Calling the `get()` method triggers the `beforeGet()` and `afterGet()`
|
|
205
205
|
* hooks if they have been defined.
|
|
@@ -346,7 +346,7 @@ async function truncate(dataCollectionId) {
|
|
|
346
346
|
* @documentationMaturity preview
|
|
347
347
|
* @requiredField dataCollectionId
|
|
348
348
|
* @requiredField items
|
|
349
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
349
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
350
350
|
* @param items - Data items to insert.
|
|
351
351
|
* @param options - Options to use when processing this operation.
|
|
352
352
|
* @permissionScope Write Data Items
|
|
@@ -376,7 +376,7 @@ async function bulkInsert(dataCollectionId, items, options) {
|
|
|
376
376
|
*
|
|
377
377
|
* > **Warning:**
|
|
378
378
|
* > If an existing item in the specified collection matches the `_id` of the specified item, `bulkUpdate()` replaces the existing item's property values with the ones in the specified item. **If the existing item had properties with values and those properties were not included in the specified item, the values in those properties are lost.**
|
|
379
|
-
*
|
|
379
|
+
* >
|
|
380
380
|
* > The item's `_updatedDate` property is also updated to the current date.
|
|
381
381
|
*
|
|
382
382
|
* Any valid JavaScript object can be used as a property value. The
|
|
@@ -403,7 +403,7 @@ async function bulkInsert(dataCollectionId, items, options) {
|
|
|
403
403
|
* @documentationMaturity preview
|
|
404
404
|
* @requiredField dataCollectionId
|
|
405
405
|
* @requiredField items
|
|
406
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
406
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
407
407
|
* @param items - Data items to update.
|
|
408
408
|
* @param options - Options to use when processing this operation.
|
|
409
409
|
* @permissionScope Write Data Items
|
|
@@ -458,7 +458,7 @@ async function bulkUpdate(dataCollectionId, items, options) {
|
|
|
458
458
|
* @documentationMaturity preview
|
|
459
459
|
* @requiredField dataCollectionId
|
|
460
460
|
* @requiredField items
|
|
461
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
461
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
462
462
|
* @param items - Data items to save.
|
|
463
463
|
* @param options - Options to use when processing this operation.
|
|
464
464
|
* @permissionScope Write Data Items
|
|
@@ -497,7 +497,7 @@ async function bulkSave(dataCollectionId, items, options) {
|
|
|
497
497
|
* @documentationMaturity preview
|
|
498
498
|
* @requiredField dataCollectionId
|
|
499
499
|
* @requiredField dataItemIds
|
|
500
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
500
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
501
501
|
* @param itemIds - IDs of the items to remove. The array must contain at least one item. Passing an empty array returns an error.
|
|
502
502
|
* @param options - Options to use when processing this operation.
|
|
503
503
|
* @permissionScope Write Data Items
|
|
@@ -651,7 +651,9 @@ function bulkPatch(dataCollectionId, itemIds) {
|
|
|
651
651
|
*
|
|
652
652
|
* The `query()` method builds a query to retrieve data items from a collection and returns a `WixDataQuery` object, which contains the query definition.
|
|
653
653
|
*
|
|
654
|
-
* You can refine the query by chaining `WixDataQuery` methods onto the query. `WixDataQuery` methods enable you to sort, filter, and control the results that `query()` returns.
|
|
654
|
+
* You can refine the query by chaining `WixDataQuery` methods onto the query. `WixDataQuery` methods enable you to sort, filter, and control the results that `query()` returns.
|
|
655
|
+
*
|
|
656
|
+
* To set the query options, use the `options` parameter in the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-query/find) or [`distinct()`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-query/distinct) methods.
|
|
655
657
|
*
|
|
656
658
|
* The methods that are chained to `query()` are applied in the order they are called. For example, if you sort on an `age` field in ascending order and then on a `name` field in descending order, the results are sorted first by the age of the items and then, if there are multiple results with the same age, the items are sorted by name in descending order, per age value.
|
|
657
659
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-v2-data-item-items.universal.js","sourceRoot":"","sources":["../../../src/data-v2-data-item-items.universal.ts"],"names":[],"mappings":";;;AA6EA,wBAeC;AAiDD,wBAeC;AA+CD,oBAeC;AA0CD,kBAeC;AAiCD,wBAeC;AA4BD,4BAOC;AA0DD,gCAeC;AAuDD,gCAeC;AAqDD,4BAeC;AAqCD,gCAeC;AA4BD,oCAmBC;AA8BD,0CAgCC;AA4BD,0CAmBC;AA6BD,8CAmBC;AAED,sBAOC;AAED,8BAaC;
|
|
1
|
+
{"version":3,"file":"data-v2-data-item-items.universal.js","sourceRoot":"","sources":["../../../src/data-v2-data-item-items.universal.ts"],"names":[],"mappings":";;;AA6EA,wBAeC;AAiDD,wBAeC;AA+CD,oBAeC;AA0CD,kBAeC;AAiCD,wBAeC;AA4BD,4BAOC;AA0DD,gCAeC;AAuDD,gCAeC;AAqDD,4BAeC;AAqCD,gCAeC;AA4BD,oCAmBC;AA8BD,0CAgCC;AA4BD,0CAmBC;AA6BD,8CAmBC;AAED,sBAOC;AAED,8BAaC;AAsCD,sBAOC;AA2BD,8BAOC;AA+BD,0CAqBC;AAYD,wBAOC;AAt+BD,iDAA8C;AAC9C,sEAemC;AAi+BjC,6FAr+BA,oCAAY,OAq+BA;AAEZ,0FAr+BA,iCAAS,OAq+BA;AAj+BX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACI,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAA0B,EAC1B,OAA8B;IAE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,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,MAAM;IACpB,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,IAAA,4BAAa,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAAA;AACtD,CAAC"}
|
|
@@ -46,7 +46,7 @@ import { WixDataUpdateOptions, WixDataReadOptions, WixDataOptions, WixDataAggreg
|
|
|
46
46
|
* > Single Item Collection see the `update()` and `save()` methods.
|
|
47
47
|
* > - The `insert()` method does not support multi-reference fields. For
|
|
48
48
|
* > multi-reference fields, use `insertReference()`.
|
|
49
|
-
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling insert() fails and issues an error.
|
|
49
|
+
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling `insert()` fails and issues an error.
|
|
50
50
|
* @public
|
|
51
51
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
52
52
|
* @param item - Data item to insert.
|
|
@@ -140,7 +140,7 @@ export declare function update(dataCollectionId: string, item: WixDataItem, opti
|
|
|
140
140
|
* > error is thrown.
|
|
141
141
|
* > - The `save()` method does not support multi-reference fields. For
|
|
142
142
|
* > multi-reference fields, use `insertReference() `or `replaceReferences()`.
|
|
143
|
-
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling save() fails and issues an error.
|
|
143
|
+
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling `save()` fails and issues an error.
|
|
144
144
|
* @public
|
|
145
145
|
* @documentationMaturity preview
|
|
146
146
|
* @requiredField dataCollectionId
|
|
@@ -164,7 +164,7 @@ export declare function save(dataCollectionId: string, item: Partial<WixDataItem
|
|
|
164
164
|
* referenced item is returned. To return the values of the referenced items
|
|
165
165
|
* use `query()` and `include()`.
|
|
166
166
|
*
|
|
167
|
-
* If the get() method is passed the ID of a hidden item, it returns null.
|
|
167
|
+
* If the `get()` method is passed the ID of a hidden item, it returns null.
|
|
168
168
|
*
|
|
169
169
|
* Calling the `get()` method triggers the `beforeGet()` and `afterGet()`
|
|
170
170
|
* hooks if they have been defined.
|
|
@@ -302,7 +302,7 @@ export declare function truncate(dataCollectionId: string): Promise<void>;
|
|
|
302
302
|
* @documentationMaturity preview
|
|
303
303
|
* @requiredField dataCollectionId
|
|
304
304
|
* @requiredField items
|
|
305
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
305
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
306
306
|
* @param items - Data items to insert.
|
|
307
307
|
* @param options - Options to use when processing this operation.
|
|
308
308
|
* @permissionScope Write Data Items
|
|
@@ -329,7 +329,7 @@ export declare function bulkInsert(dataCollectionId: string, items: Partial<WixD
|
|
|
329
329
|
*
|
|
330
330
|
* > **Warning:**
|
|
331
331
|
* > If an existing item in the specified collection matches the `_id` of the specified item, `bulkUpdate()` replaces the existing item's property values with the ones in the specified item. **If the existing item had properties with values and those properties were not included in the specified item, the values in those properties are lost.**
|
|
332
|
-
*
|
|
332
|
+
* >
|
|
333
333
|
* > The item's `_updatedDate` property is also updated to the current date.
|
|
334
334
|
*
|
|
335
335
|
* Any valid JavaScript object can be used as a property value. The
|
|
@@ -356,7 +356,7 @@ export declare function bulkInsert(dataCollectionId: string, items: Partial<WixD
|
|
|
356
356
|
* @documentationMaturity preview
|
|
357
357
|
* @requiredField dataCollectionId
|
|
358
358
|
* @requiredField items
|
|
359
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
359
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
360
360
|
* @param items - Data items to update.
|
|
361
361
|
* @param options - Options to use when processing this operation.
|
|
362
362
|
* @permissionScope Write Data Items
|
|
@@ -408,7 +408,7 @@ export declare function bulkUpdate(dataCollectionId: string, items: WixDataItem[
|
|
|
408
408
|
* @documentationMaturity preview
|
|
409
409
|
* @requiredField dataCollectionId
|
|
410
410
|
* @requiredField items
|
|
411
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
411
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
412
412
|
* @param items - Data items to save.
|
|
413
413
|
* @param options - Options to use when processing this operation.
|
|
414
414
|
* @permissionScope Write Data Items
|
|
@@ -444,7 +444,7 @@ export declare function bulkSave(dataCollectionId: string, items: Partial<WixDat
|
|
|
444
444
|
* @documentationMaturity preview
|
|
445
445
|
* @requiredField dataCollectionId
|
|
446
446
|
* @requiredField dataItemIds
|
|
447
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
447
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
448
448
|
* @param itemIds - IDs of the items to remove. The array must contain at least one item. Passing an empty array returns an error.
|
|
449
449
|
* @param options - Options to use when processing this operation.
|
|
450
450
|
* @permissionScope Write Data Items
|
|
@@ -569,7 +569,9 @@ export declare function bulkPatch(dataCollectionId: string, itemIds: string[]):
|
|
|
569
569
|
*
|
|
570
570
|
* The `query()` method builds a query to retrieve data items from a collection and returns a `WixDataQuery` object, which contains the query definition.
|
|
571
571
|
*
|
|
572
|
-
* You can refine the query by chaining `WixDataQuery` methods onto the query. `WixDataQuery` methods enable you to sort, filter, and control the results that `query()` returns.
|
|
572
|
+
* You can refine the query by chaining `WixDataQuery` methods onto the query. `WixDataQuery` methods enable you to sort, filter, and control the results that `query()` returns.
|
|
573
|
+
*
|
|
574
|
+
* To set the query options, use the `options` parameter in the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-query/find) or [`distinct()`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-query/distinct) methods.
|
|
573
575
|
*
|
|
574
576
|
* The methods that are chained to `query()` are applied in the order they are called. For example, if you sort on an `age` field in ascending order and then on a `name` field in descending order, the results are sorted first by the age of the items and then, if there are multiple results with the same age, the items are sorted by name in descending order, per age value.
|
|
575
577
|
*
|
|
@@ -47,7 +47,7 @@ import { WixDataPatch, QueryBase, } from '@wix/wix-data-items-common';
|
|
|
47
47
|
* > Single Item Collection see the `update()` and `save()` methods.
|
|
48
48
|
* > - The `insert()` method does not support multi-reference fields. For
|
|
49
49
|
* > multi-reference fields, use `insertReference()`.
|
|
50
|
-
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling insert() fails and issues an error.
|
|
50
|
+
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling `insert()` fails and issues an error.
|
|
51
51
|
* @public
|
|
52
52
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
53
53
|
* @param item - Data item to insert.
|
|
@@ -147,7 +147,7 @@ export async function update(dataCollectionId, item, options) {
|
|
|
147
147
|
* > error is thrown.
|
|
148
148
|
* > - The `save()` method does not support multi-reference fields. For
|
|
149
149
|
* > multi-reference fields, use `insertReference() `or `replaceReferences()`.
|
|
150
|
-
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling save() fails and issues an error.
|
|
150
|
+
* > - [Translatable collections](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content) do not allow insertion and modification of items when working in a non-primary language. For example, if a collection's primary language is English, and the site visitor is viewing the site in French, calling `save()` fails and issues an error.
|
|
151
151
|
* @public
|
|
152
152
|
* @documentationMaturity preview
|
|
153
153
|
* @requiredField dataCollectionId
|
|
@@ -174,7 +174,7 @@ export async function save(dataCollectionId, item, options) {
|
|
|
174
174
|
* referenced item is returned. To return the values of the referenced items
|
|
175
175
|
* use `query()` and `include()`.
|
|
176
176
|
*
|
|
177
|
-
* If the get() method is passed the ID of a hidden item, it returns null.
|
|
177
|
+
* If the `get()` method is passed the ID of a hidden item, it returns null.
|
|
178
178
|
*
|
|
179
179
|
* Calling the `get()` method triggers the `beforeGet()` and `afterGet()`
|
|
180
180
|
* hooks if they have been defined.
|
|
@@ -321,7 +321,7 @@ export async function truncate(dataCollectionId) {
|
|
|
321
321
|
* @documentationMaturity preview
|
|
322
322
|
* @requiredField dataCollectionId
|
|
323
323
|
* @requiredField items
|
|
324
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
324
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
325
325
|
* @param items - Data items to insert.
|
|
326
326
|
* @param options - Options to use when processing this operation.
|
|
327
327
|
* @permissionScope Write Data Items
|
|
@@ -351,7 +351,7 @@ export async function bulkInsert(dataCollectionId, items, options) {
|
|
|
351
351
|
*
|
|
352
352
|
* > **Warning:**
|
|
353
353
|
* > If an existing item in the specified collection matches the `_id` of the specified item, `bulkUpdate()` replaces the existing item's property values with the ones in the specified item. **If the existing item had properties with values and those properties were not included in the specified item, the values in those properties are lost.**
|
|
354
|
-
*
|
|
354
|
+
* >
|
|
355
355
|
* > The item's `_updatedDate` property is also updated to the current date.
|
|
356
356
|
*
|
|
357
357
|
* Any valid JavaScript object can be used as a property value. The
|
|
@@ -378,7 +378,7 @@ export async function bulkInsert(dataCollectionId, items, options) {
|
|
|
378
378
|
* @documentationMaturity preview
|
|
379
379
|
* @requiredField dataCollectionId
|
|
380
380
|
* @requiredField items
|
|
381
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
381
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
382
382
|
* @param items - Data items to update.
|
|
383
383
|
* @param options - Options to use when processing this operation.
|
|
384
384
|
* @permissionScope Write Data Items
|
|
@@ -433,7 +433,7 @@ export async function bulkUpdate(dataCollectionId, items, options) {
|
|
|
433
433
|
* @documentationMaturity preview
|
|
434
434
|
* @requiredField dataCollectionId
|
|
435
435
|
* @requiredField items
|
|
436
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
436
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
437
437
|
* @param items - Data items to save.
|
|
438
438
|
* @param options - Options to use when processing this operation.
|
|
439
439
|
* @permissionScope Write Data Items
|
|
@@ -472,7 +472,7 @@ export async function bulkSave(dataCollectionId, items, options) {
|
|
|
472
472
|
* @documentationMaturity preview
|
|
473
473
|
* @requiredField dataCollectionId
|
|
474
474
|
* @requiredField dataItemIds
|
|
475
|
-
* @param dataCollectionId - ID of the collection items belong
|
|
475
|
+
* @param dataCollectionId - ID of the collection to which the items belong.
|
|
476
476
|
* @param itemIds - IDs of the items to remove. The array must contain at least one item. Passing an empty array returns an error.
|
|
477
477
|
* @param options - Options to use when processing this operation.
|
|
478
478
|
* @permissionScope Write Data Items
|
|
@@ -626,7 +626,9 @@ export function bulkPatch(dataCollectionId, itemIds) {
|
|
|
626
626
|
*
|
|
627
627
|
* The `query()` method builds a query to retrieve data items from a collection and returns a `WixDataQuery` object, which contains the query definition.
|
|
628
628
|
*
|
|
629
|
-
* You can refine the query by chaining `WixDataQuery` methods onto the query. `WixDataQuery` methods enable you to sort, filter, and control the results that `query()` returns.
|
|
629
|
+
* You can refine the query by chaining `WixDataQuery` methods onto the query. `WixDataQuery` methods enable you to sort, filter, and control the results that `query()` returns.
|
|
630
|
+
*
|
|
631
|
+
* To set the query options, use the `options` parameter in the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-query/find) or [`distinct()`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-query/distinct) methods.
|
|
630
632
|
*
|
|
631
633
|
* The methods that are chained to `query()` are applied in the order they are called. For example, if you sort on an `age` field in ascending order and then on a `name` field in descending order, the results are sorted first by the age of the items and then, if there are multiple results with the same age, the items are sorted by name in descending order, per age value.
|
|
632
634
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-v2-data-item-items.universal.js","sourceRoot":"","sources":["../../../src/data-v2-data-item-items.universal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAWL,YAAY,EAEZ,SAAS,GAEV,MAAM,4BAA4B,CAAA;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAA0B,EAC1B,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAClD,gBAAgB,EAChB,IAAI,EACJ,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAAiB,EACjB,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAClD,gBAAgB,EAChB,IAAI,EACJ,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAM,CAAC,KAAK,UAAU,IAAI,CACxB,gBAAwB,EACxB,IAA0B,EAC1B,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,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AAC,eAAe,CAC3D,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,gBAAwB,EACxB,KAAa,EACb,aAAmC,EACnC,cAA+D,EAC/D,OAAwB;IAExB,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,iBAAiB,CAC7D,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAA;AACH,CAAC;AAED,MAAM,UAAU,KAAK,CAAC,gBAAwB,EAAE,MAAc;IAC5D,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,KAAK,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAC/E,CAAC;AAED,MAAM,UAAU,SAAS,CACvB,gBAAwB,EACxB,OAAiB;IAEjB,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,SAAS,CACrD,gBAAgB,EAChB,OAAO,CACR,CAAA;AACH,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"data-v2-data-item-items.universal.js","sourceRoot":"","sources":["../../../src/data-v2-data-item-items.universal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAWL,YAAY,EAEZ,SAAS,GAEV,MAAM,4BAA4B,CAAA;AAEnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,eAAe,CAC3D,gBAAgB,EAChB,aAAa,EACb,KAAK,EACL,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,MAAM;IACpB,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAAA;AACtD,CAAC;AAED,OAAO,EASL,YAAY,EAEZ,SAAS,GAGV,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/wix-data-items-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.200",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Rimvydas Gimbutas",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"*.{js,ts}": "yarn lint"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@wix/metro-runtime": "^1.
|
|
36
|
+
"@wix/metro-runtime": "^1.1857.0",
|
|
37
37
|
"@wix/sdk-runtime": "^0.3.23",
|
|
38
38
|
"@wix/sdk-types": "^1.12.4",
|
|
39
|
-
"@wix/wix-data-items-common": "1.0.
|
|
39
|
+
"@wix/wix-data-items-common": "1.0.70"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@eslint/js": "^9.14.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"wallaby": {
|
|
76
76
|
"autoDetect": true
|
|
77
77
|
},
|
|
78
|
-
"falconPackageHash": "
|
|
78
|
+
"falconPackageHash": "77aa17c783416457639025b054d4c5e4a462560362e2abef445b0263"
|
|
79
79
|
}
|