@wix/wix-data-items-sdk 1.0.224 → 1.0.226
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 +76 -165
- package/build/cjs/src/data-v2-data-item-items.universal.js +76 -165
- 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 +76 -165
- package/build/es/src/data-v2-data-item-items.universal.js +76 -165
- package/build/es/src/data-v2-data-item-items.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -13,11 +13,7 @@ import { WixDataPatch, QueryBase, } from '@wix/wix-data-items-common';
|
|
|
13
13
|
* existing ID in the collection. Meaning, `insert()` cannot overwrite an
|
|
14
14
|
* existing item in the collection.
|
|
15
15
|
*
|
|
16
|
-
* Calling the `insert()` method triggers the `beforeInsert()` and
|
|
17
|
-
* `afterInsert()` hooks if they have been defined.
|
|
18
|
-
*
|
|
19
|
-
* Use the `options` parameter to run `insert()` from backend code without
|
|
20
|
-
* checking for permissions or without its registered hooks.
|
|
16
|
+
* Calling the `insert()` method triggers the [`beforeInsert()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-insert) and [`afterInsert()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-insert) hooks if they have been defined.
|
|
21
17
|
*
|
|
22
18
|
* When inserting an item into a collection that has a reference field, set the
|
|
23
19
|
* value of the reference field to the referenced item's `_id` value or the entire referenced item object.
|
|
@@ -32,21 +28,15 @@ import { WixDataPatch, QueryBase, } from '@wix/wix-data-items-common';
|
|
|
32
28
|
* added, the `_createdDate` and `_updatedDate` are the same.
|
|
33
29
|
*
|
|
34
30
|
* Any valid JavaScript object can be added as a property value. The `insert()`
|
|
35
|
-
* method maintains the structure of the specified object. For example, objects that contain nested objects,
|
|
31
|
+
* method maintains the structure of the specified object. For example, objects that contain nested objects, arrays, or arrays with nested objects are all added to the collection as defined.
|
|
36
32
|
*
|
|
37
|
-
* The maximum size of an item that you can add to a collection is 500kb.
|
|
38
33
|
*
|
|
39
34
|
* > **Notes:**
|
|
40
|
-
* > -
|
|
41
|
-
*
|
|
42
|
-
* > - When creating a
|
|
43
|
-
* >
|
|
44
|
-
* >
|
|
45
|
-
* > - If there is a pre-existing item in a Single Item Collection, the
|
|
46
|
-
* > `insert()` method will not run. To update or change an item in a
|
|
47
|
-
* > Single Item Collection see the `update()` and `save()` methods.
|
|
48
|
-
* > - The `insert()` method does not support multi-reference fields. For
|
|
49
|
-
* > multi-reference fields, use `insertReference()`.
|
|
35
|
+
* > - The maximum size of an item that you can add to a collection is 500kb.
|
|
36
|
+
* > - If an item's `_id` property value is set to `null` or an empty string, an error is thrown.
|
|
37
|
+
* > - When creating a [single-item collection](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection), an item with the system field `_id` is pre-inserted into the collection. [Single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection) may contain only one item.
|
|
38
|
+
* > - If there is a pre-existing item in a [single-item collection](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection), the `insert()` method will not run. To update or change an item in a single-item collection see the `update()` and `save()` methods.
|
|
39
|
+
* > - The `insert()` method does not support multi-reference fields. For multi-reference fields, use `insertReference()`.
|
|
50
40
|
* > - [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
41
|
* @public
|
|
52
42
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
@@ -69,8 +59,7 @@ export async function insert(dataCollectionId, item, options) {
|
|
|
69
59
|
* the specified collection. The Promise is rejected if the current user does not
|
|
70
60
|
* have update permissions for the collection.
|
|
71
61
|
*
|
|
72
|
-
* Calling the `update()` method triggers the `beforeUpdate()` and `afterUpdate()`
|
|
73
|
-
* hooks if they have been defined.
|
|
62
|
+
* Calling the `update()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-update) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks if they have been defined.
|
|
74
63
|
*
|
|
75
64
|
* The `update()` method compares the `_id` property of the specified item
|
|
76
65
|
* with the `_id` property values of the items in the specified collection. If
|
|
@@ -82,12 +71,9 @@ export async function insert(dataCollectionId, item, options) {
|
|
|
82
71
|
*
|
|
83
72
|
* Any valid JavaScript object can be used as a property value. The `update()`
|
|
84
73
|
* method maintains the structure of the specified object. For example,
|
|
85
|
-
* objects that contain nested objects,
|
|
74
|
+
* objects that contain nested objects, arrays, or arrays with nested objects
|
|
86
75
|
* are all added to the collection as defined.
|
|
87
76
|
*
|
|
88
|
-
* Use the `options` parameter to run `update()` from backend code without
|
|
89
|
-
* checking for permissions or without its registered hooks.
|
|
90
|
-
*
|
|
91
77
|
* When updating an item in a collection that has a reference field, set the
|
|
92
78
|
* value of the reference field to the referenced item's `_id` value or the
|
|
93
79
|
* entire referenced item object.
|
|
@@ -130,24 +116,20 @@ export async function update(dataCollectionId, item, options) {
|
|
|
130
116
|
* If none of the items in the collection contain that `_id` value, the
|
|
131
117
|
* specified item does not have an `_id` property, or if the specified item's
|
|
132
118
|
* id property is `undefined`, `save()` uses `insert()` to add the specified
|
|
133
|
-
* item to the collection. This triggers the `beforeInsert()` and
|
|
134
|
-
* `afterInsert()` hooks if they have been defined.
|
|
119
|
+
* item to the collection. This triggers the [`beforeInsert()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-insert) and
|
|
120
|
+
* [`afterInsert()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-insert) hooks if they have been defined.
|
|
135
121
|
*
|
|
136
|
-
* Use the `options` parameter to run `save()` from backend code without
|
|
137
|
-
* checking for permissions or without its registered hooks.
|
|
138
122
|
*
|
|
139
123
|
* When saving an item to a collection that has a reference field, set the
|
|
140
124
|
* value of the reference field to the referenced item's `_id` value or the
|
|
141
125
|
* entire referenced item object.
|
|
142
126
|
*
|
|
143
|
-
* The maximum size of an item that you can save to a collection is 500kb.
|
|
144
|
-
*
|
|
145
127
|
* > **Notes:**
|
|
146
|
-
* > -
|
|
147
|
-
* >
|
|
148
|
-
* > - The `save()` method does not support multi-reference fields. For
|
|
149
|
-
* > multi-reference fields, use `insertReference() `or `replaceReferences()`.
|
|
128
|
+
* > - The maximum size of an item that you can save to a collection is 500kb.
|
|
129
|
+
* > - If an item's `_id` property value is set to null or an empty string, an error is thrown.
|
|
130
|
+
* > - The `save()` method does not support multi-reference fields. For multi-reference fields, use `insertReference() `or `replaceReferences()`.
|
|
150
131
|
* > - [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.
|
|
132
|
+
*
|
|
151
133
|
* @public
|
|
152
134
|
* @documentationMaturity preview
|
|
153
135
|
* @requiredField dataCollectionId
|
|
@@ -174,23 +156,14 @@ export async function save(dataCollectionId, item, options) {
|
|
|
174
156
|
* referenced item is returned. To return the values of the referenced items
|
|
175
157
|
* use `query()` and `include()`.
|
|
176
158
|
*
|
|
177
|
-
* If the `get()` method is passed the ID of a hidden item, it returns null.
|
|
159
|
+
* If the `get()` method is passed the ID of [a hidden item](https://support.wix.com/en/article/cms-controlling-live-site-item-visibility-from-your-collection), it returns null.
|
|
178
160
|
*
|
|
179
|
-
* Calling the `get()` method triggers the `beforeGet()` and `afterGet()`
|
|
180
|
-
* hooks if they have been defined.
|
|
181
|
-
*
|
|
182
|
-
* Use the `options` parameter to run `get()` from backend code without
|
|
183
|
-
* checking for permissions or without its registered hooks.
|
|
161
|
+
* Calling the `get()` method triggers the [`beforeGet()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-get) and [`afterGet()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-get) hooks if they have been defined.
|
|
184
162
|
*
|
|
185
163
|
* > **Notes:**
|
|
186
|
-
* > - When using the `query()` or `get()` methods or another data retrieval
|
|
187
|
-
* >
|
|
188
|
-
*
|
|
189
|
-
* > Eventual Consistency for more information. To solve this problem, you
|
|
190
|
-
* > can use the `setTimeout()` method to delay retrieving data following
|
|
191
|
-
* > any changes to your database collection.
|
|
192
|
-
* > - An `itemId` is required to retrieve an item even from a single-item
|
|
193
|
-
* > collection.
|
|
164
|
+
* > - When using the `query()` or `get()` methods or another data retrieval method immediately following a change to your database collection, the data retrieved may not contain your most recent changes. Learn more about [Wix Data and Eventual Consistency](https://dev.wix.com/docs/sdk/backend-modules/data/eventual-consistency). To solve this, you can use the `setTimeout()` method to delay retrieving data following any changes to your database collection.
|
|
165
|
+
* > - An `itemId` is required to retrieve an item even from a [single-item collection](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
166
|
+
*
|
|
194
167
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
195
168
|
* @param itemId - ID of the data item to retrieve.
|
|
196
169
|
* @param options - Options to use when processing this operation.
|
|
@@ -214,19 +187,11 @@ export async function get(dataCollectionId, itemId, options) {
|
|
|
214
187
|
* rejected if the current user does not have "delete" permissions for the
|
|
215
188
|
* collection.
|
|
216
189
|
*
|
|
217
|
-
* Calling the `remove()` method triggers the `beforeRemove()` and
|
|
218
|
-
* `afterRemove()` hooks if they have been defined.
|
|
190
|
+
* Calling the `remove()` method triggers the [`beforeRemove()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-remove) and [`afterRemove()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-remove) hooks if they have been defined.
|
|
219
191
|
*
|
|
220
|
-
* Use the `options` parameter to run `remove()` from backend code without
|
|
221
|
-
* checking for permissions or without its registered hooks.
|
|
222
192
|
*
|
|
223
|
-
* > **
|
|
224
|
-
*
|
|
225
|
-
* > items in collections referenced by the specified item. For example,
|
|
226
|
-
* > suppose you have a **Movies** collection with an **Actors** field that
|
|
227
|
-
* > contains multiple references to items in a **People** collection. Removing
|
|
228
|
-
* > an item in the **Movies** collection also clears the data in the
|
|
229
|
-
* > corresponding multiple-item reference fields in the **People** collection.
|
|
193
|
+
* > **Note:** The `remove()` method also clears multiple-item reference fields for items in collections referenced by the specified item. For example, suppose you have a **Movies** collection with an **Actors** field that contains multiple references to items in a **People** collection. Removing an item in the **Movies** collection also clears the data in the corresponding multiple-item reference fields in the **People** collection.
|
|
194
|
+
*
|
|
230
195
|
* @param dataCollectionId - ID of the collection that contains the item.
|
|
231
196
|
* @param itemId - ID of the item to remove.
|
|
232
197
|
* @param options - Object containing options to use when processing this operation.
|
|
@@ -247,19 +212,10 @@ export async function remove(dataCollectionId, itemId, options) {
|
|
|
247
212
|
* The `truncate()` method returns a Promise that resolves after all items
|
|
248
213
|
* have been removed from the specified collection.
|
|
249
214
|
*
|
|
250
|
-
* `truncate()` runs when
|
|
251
|
-
* - The current user is the site owner.
|
|
252
|
-
* - The request is performed in backend code with a `suppressAuth` options
|
|
253
|
-
* value of `true`.
|
|
215
|
+
* `truncate()` runs when the current user is the site owner, or when the method is called with [elevated permissions](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-elevated-permissions).
|
|
254
216
|
*
|
|
255
|
-
*
|
|
217
|
+
* > **Note:** `truncate()` also clears multiple-item reference fields in collections referenced by the specified collection. For example, suppose you have a **Movies** collection with an **Actors** field that contains multiple references to items in a People collection. Truncating the **Movies** collection also clears the data in the corresponding multiple-item reference field in the People collection.
|
|
256
218
|
*
|
|
257
|
-
* > **Note:** `truncate()` also clears multiple-item reference fields in
|
|
258
|
-
* > collections referenced by the specified collection. For example, suppose you
|
|
259
|
-
* > have a **Movies** collection with an **Actors** field that contains multiple
|
|
260
|
-
* > references to items in a People collection. Truncating the **Movies**
|
|
261
|
-
* > collection also clears the data in the corresponding multiple-item reference
|
|
262
|
-
* > field in the People collection.
|
|
263
219
|
* @public
|
|
264
220
|
* @documentationMaturity preview
|
|
265
221
|
* @requiredField dataCollectionId
|
|
@@ -278,15 +234,10 @@ export async function truncate(dataCollectionId) {
|
|
|
278
234
|
* have been added to the specified collection. The Promise is rejected if the
|
|
279
235
|
* current user does not have "create" permissions for the collection. Items
|
|
280
236
|
* are skipped if they include an `_id` property whose value matches an
|
|
281
|
-
* existing ID in the collection.
|
|
237
|
+
* existing ID in the collection. This means that `bulkInsert()` cannot overwrite an
|
|
282
238
|
* existing item in the collection.
|
|
283
239
|
*
|
|
284
|
-
* Calling the `bulkInsert()` method triggers the `beforeInsert()` and
|
|
285
|
-
* `afterInsert()` hooks for each item that is inserted if the hooks have been
|
|
286
|
-
* defined.
|
|
287
|
-
*
|
|
288
|
-
* Use the options parameter to run `bulkInsert()` from backend code without
|
|
289
|
-
* checking for permissions or without its registered hooks.
|
|
240
|
+
* Calling the `bulkInsert()` method triggers the [`beforeInsert()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-insert) and [`afterInsert()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-insert) events for each item that is inserted, if these events have been defined.
|
|
290
241
|
*
|
|
291
242
|
* When inserting items into a collection that has a reference field, set the
|
|
292
243
|
* values of the reference fields to the referenced item's `_id` value or the
|
|
@@ -304,19 +255,17 @@ export async function truncate(dataCollectionId) {
|
|
|
304
255
|
*
|
|
305
256
|
* Any valid JavaScript object can be added as a property value. The
|
|
306
257
|
* `bulkInsert()` method maintains the structure of the specified object. For
|
|
307
|
-
* example, objects that contain nested objects,
|
|
258
|
+
* example, objects that contain nested objects, arrays, or arrays with nested
|
|
308
259
|
* objects are all added to the collection as defined.
|
|
309
260
|
*
|
|
310
|
-
* The maximum size of an item that you can add to a collection is 500kb.
|
|
311
261
|
*
|
|
312
262
|
* > **Notes:**
|
|
313
|
-
* > -
|
|
314
|
-
* >
|
|
263
|
+
* > - The maximum size of an item that you can add to a collection is 500kb.
|
|
264
|
+
* > - If an item's `_id` property value is set to `null` or an empty string, an error is thrown.
|
|
315
265
|
* > - Bulk operations are limited to 1000 items per method call.
|
|
316
|
-
* > - The `bulkInsert()` method is not supported for
|
|
317
|
-
* > - The `bulkInsert()` method does not support multi-reference fields. For
|
|
318
|
-
* >
|
|
319
|
-
* > - [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 bulkInsert() fails and issues an error.
|
|
266
|
+
* > - The `bulkInsert()` method is not supported for [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
267
|
+
* > - The `bulkInsert()` method does not support multi-reference fields. For multi-reference fields, use `insertReference()`.
|
|
268
|
+
* > - [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 `bulkInsert()` fails and issues an error.
|
|
320
269
|
* @public
|
|
321
270
|
* @documentationMaturity preview
|
|
322
271
|
* @requiredField dataCollectionId
|
|
@@ -341,39 +290,32 @@ export async function bulkInsert(dataCollectionId, items, options) {
|
|
|
341
290
|
* existing ID in the collection. Meaning, `bulkUpdate()` cannot add new items
|
|
342
291
|
* into the collection.
|
|
343
292
|
*
|
|
344
|
-
* Calling the `bulkUpdate()` method triggers the `beforeUpdate()` and
|
|
345
|
-
* `afterUpdate()` hooks for each item that is updated if the hooks have been
|
|
346
|
-
* defined.
|
|
293
|
+
* Calling the `bulkUpdate()` method triggers the [`beforeUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-udpate) and [`afterUpdate()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-update) hooks for each item that is updated if the hooks have been defined.
|
|
347
294
|
*
|
|
348
|
-
* The `bulkUpdate()` method compares the `_id` property of the specified
|
|
349
|
-
* items with the `_id` property values of the items in the specified
|
|
350
|
-
* collection.
|
|
295
|
+
* The `bulkUpdate()` method compares the `_id` property of the specified items with the `_id` property values of the items in the specified collection.
|
|
351
296
|
*
|
|
352
297
|
* > **Warning:**
|
|
353
|
-
* >
|
|
354
|
-
*
|
|
355
|
-
*
|
|
298
|
+
* > 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 are not included in the specified item, the values in those properties are lost.
|
|
299
|
+
*
|
|
300
|
+
* The item's `_updatedDate` property is also updated to the current date.
|
|
356
301
|
*
|
|
357
302
|
* Any valid JavaScript object can be used as a property value. The
|
|
358
303
|
* `bulkUpdate()` method maintains the structure of the specified object. For
|
|
359
|
-
* example, objects that contain nested objects,
|
|
304
|
+
* example, objects that contain nested objects, arrays, or arrays with nested
|
|
360
305
|
* objects are all added to the collection as defined.
|
|
361
306
|
*
|
|
362
|
-
* Use the options parameter to run `bulkUpdate()` from backend code without
|
|
363
|
-
* checking for permissions or without its registered hooks.
|
|
364
307
|
*
|
|
365
308
|
* When updating items in a collection that has a reference field, set the
|
|
366
309
|
* values of the reference field to the referenced item's `_id` value or the
|
|
367
310
|
* entire referenced item object.
|
|
368
311
|
*
|
|
369
|
-
* The maximum size of an item that you can update in a collection is 500kb.
|
|
370
|
-
*
|
|
371
312
|
* > **Notes:**
|
|
313
|
+
* > - The maximum size of an item that you can update in a collection is 500kb.
|
|
372
314
|
* > - Bulk operations are limited to 1000 items per method call.
|
|
373
|
-
* > - The `bulkUpdate()` method is not supported for
|
|
374
|
-
* > - The `bulkUpdate()` method does not support multi-reference fields. For
|
|
375
|
-
* >
|
|
376
|
-
*
|
|
315
|
+
* > - The `bulkUpdate()` method is not supported for [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
316
|
+
* > - The `bulkUpdate()` method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
317
|
+
* > - [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 `bulkUpdate()` fails and issues an error.
|
|
318
|
+
*
|
|
377
319
|
* @public
|
|
378
320
|
* @documentationMaturity preview
|
|
379
321
|
* @requiredField dataCollectionId
|
|
@@ -408,27 +350,20 @@ export async function bulkUpdate(dataCollectionId, items, options) {
|
|
|
408
350
|
* - If none of the items in the collection contain that `_id` value, the
|
|
409
351
|
* specified item does not have an `_id` property, or if the specified item's
|
|
410
352
|
* `_id` property is `undefined`, `bulkSave()` uses `insert()` to add the
|
|
411
|
-
* specified item into the collection. This triggers the `beforeInsert()` and
|
|
412
|
-
* `afterInsert()` hooks for that item if they have been defined.
|
|
413
|
-
*
|
|
414
|
-
* Use the `options` parameter to run `bulkSave()` from backend code without
|
|
415
|
-
* checking for permissions or without its registered hooks.
|
|
353
|
+
* specified item into the collection. This triggers the [`beforeInsert()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-insert) and [`afterInsert()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-insert) hooks for that item if they have been defined.
|
|
416
354
|
*
|
|
417
355
|
* When saving items to a collection that has a reference field, set the values
|
|
418
356
|
* of the reference fields to the referenced item's `_id` value or the entire
|
|
419
357
|
* referenced item object.
|
|
420
358
|
*
|
|
421
|
-
* The maximum size of an item that you can save to a collection is 500kb.
|
|
422
|
-
*
|
|
423
359
|
* > **Notes:**
|
|
424
|
-
* > -
|
|
425
|
-
* >
|
|
360
|
+
* > - The maximum size of an item that you can save to a collection is 500kb.
|
|
361
|
+
* > - If an item's `_id` property value is set to null or an empty string, an error is thrown.
|
|
426
362
|
* > - Bulk operations are limited to 1000 items per method call.
|
|
427
|
-
* > - The `bulkSave()` method is not supported for
|
|
428
|
-
* > - The `bulkSave()` method does not support multi-reference fields. For
|
|
429
|
-
* >
|
|
430
|
-
*
|
|
431
|
-
* > - [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 bulkSave() fails and issues an error.
|
|
363
|
+
* > - The `bulkSave()` method is not supported for [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
364
|
+
* > - The `bulkSave()` method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
365
|
+
* > - [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 `bulkSave()` fails and issues an error.
|
|
366
|
+
*
|
|
432
367
|
* @public
|
|
433
368
|
* @documentationMaturity preview
|
|
434
369
|
* @requiredField dataCollectionId
|
|
@@ -446,19 +381,9 @@ export async function bulkSave(dataCollectionId, items, options) {
|
|
|
446
381
|
/**
|
|
447
382
|
* Removes a number of items from a collection.
|
|
448
383
|
*
|
|
449
|
-
* The `bulkRemove()` method returns a Promise that resolves after the items
|
|
450
|
-
* have been removed from the specified collection. The Promise is rejected if
|
|
451
|
-
* the current user does not have "delete" permissions for the collection. If
|
|
452
|
-
* the delete permissions for the collection are set to Site member author, the
|
|
453
|
-
* only items that are deleted are those for which the current user is the
|
|
454
|
-
* owner. All other items are skipped.
|
|
455
|
-
*
|
|
456
|
-
* Calling the `bulkRemove()` method triggers the `beforeRemove()` and
|
|
457
|
-
* `afterRemove()` hooks for each item that is deleted if the hooks have been
|
|
458
|
-
* defined.
|
|
384
|
+
* The `bulkRemove()` method returns a Promise that resolves after the items have been removed from the specified collection. The Promise is rejected if the current user does not have "delete" permissions for the collection. If the delete permissions for the collection are assigned to [**Item's creator**](https://support.wix.com/en/article/cms-collection-permissions-overview#set-custom-permissions-for-more-access-control), the only items that are deleted are those for which the current user is the owner. All other items are skipped.
|
|
459
385
|
*
|
|
460
|
-
*
|
|
461
|
-
* checking for permissions or without its registered hooks.
|
|
386
|
+
* Calling the `bulkRemove()` method triggers the [`beforeRemove()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/before-remove) and [`afterRemove()`](https://dev.wix.com/docs/velo/api-reference/wix-data/hooks/after-remove) hooks for each item that is deleted if the hooks have been defined.
|
|
462
387
|
*
|
|
463
388
|
* > **Notes:**
|
|
464
389
|
* > - The `bulkRemove()` method also clears multiple-item reference fields
|
|
@@ -468,6 +393,7 @@ export async function bulkSave(dataCollectionId, items, options) {
|
|
|
468
393
|
* > Removing items in the **Movies** collection also clears the data in the
|
|
469
394
|
* > corresponding multiple-item reference fields in the People collection.
|
|
470
395
|
* > - Bulk operations are limited to 1000 items per method call.
|
|
396
|
+
*
|
|
471
397
|
* @public
|
|
472
398
|
* @documentationMaturity preview
|
|
473
399
|
* @requiredField dataCollectionId
|
|
@@ -487,10 +413,8 @@ export async function bulkRemove(dataCollectionId, itemIds, options) {
|
|
|
487
413
|
*
|
|
488
414
|
* The `isReferenced()` method returns a Promise that resolves to true if the referring item contains a reference to the referenced item in the specified field. The Promise is rejected if the current user does not have read permissions for the collection.
|
|
489
415
|
*
|
|
490
|
-
*
|
|
416
|
+
* > **Note:** The `isReferenced()` method is not supported for [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
491
417
|
*
|
|
492
|
-
* > **Note:** The `isReferenced()` method is not supported for Single Item
|
|
493
|
-
* > Collections.
|
|
494
418
|
* @public
|
|
495
419
|
* @documentationMaturity preview
|
|
496
420
|
* @requiredField dataCollectionId
|
|
@@ -520,8 +444,6 @@ export async function isReferenced(dataCollectionId, field, referringItem, refer
|
|
|
520
444
|
* specified property. The Promise is rejected if the current user does not
|
|
521
445
|
* have update permissions for the collection.
|
|
522
446
|
*
|
|
523
|
-
* Calling the `insertReference()` method does not trigger any hooks.
|
|
524
|
-
*
|
|
525
447
|
* > **Notes:**
|
|
526
448
|
* > - The `insertReference()` method only applies to multi-reference fields.
|
|
527
449
|
* > - The `insertReference()` method is not supported for Single Item
|
|
@@ -560,10 +482,8 @@ export async function insertReference(dataCollectionId, field, referringItem, re
|
|
|
560
482
|
* in the referring item. The Promise is rejected if the current user does not
|
|
561
483
|
* have update permissions for the collection.
|
|
562
484
|
*
|
|
563
|
-
*
|
|
485
|
+
* > **Note:** The `removeReference()` method is not supported for [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
564
486
|
*
|
|
565
|
-
* > **Note:** The `removeReference()` method is not supported for Single
|
|
566
|
-
* > Item Collections.
|
|
567
487
|
* @public
|
|
568
488
|
* @documentationMaturity preview
|
|
569
489
|
* @requiredField dataCollectionId
|
|
@@ -591,10 +511,9 @@ export async function removeReference(dataCollectionId, field, referringItem, re
|
|
|
591
511
|
* rejected if the current user does not have update permissions for the
|
|
592
512
|
* collection.
|
|
593
513
|
*
|
|
594
|
-
* Calling the `replaceReferences()` method does not trigger any hooks.
|
|
595
514
|
*
|
|
596
|
-
* > **Note:** The `replaceReferences()` method is not supported for
|
|
597
|
-
*
|
|
515
|
+
* > **Note:** The `replaceReferences()` method is not supported for [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
516
|
+
*
|
|
598
517
|
* @public
|
|
599
518
|
* @documentationMaturity preview
|
|
600
519
|
* @requiredField dataCollectionId
|
|
@@ -624,31 +543,25 @@ export function bulkPatch(dataCollectionId, itemIds) {
|
|
|
624
543
|
/**
|
|
625
544
|
* Creates a query to retrieve items from a database collection.
|
|
626
545
|
*
|
|
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
|
-
*
|
|
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.
|
|
546
|
+
* The `query()` method builds a query to retrieve data items from a collection and returns a `WixDataQuery` object, which contains the query definition. You can refine the query by chaining [`WixDataQuery` methods](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-query/introduction) onto the query. `WixDataQuery` methods enable you to sort, filter, and control the query results.
|
|
630
547
|
*
|
|
631
|
-
*
|
|
548
|
+
* The methods chained to `query()` are applied in the order they are called. For example, if you sort by an `age` field in ascending order and then by a `name` field in descending order, the results are sorted first by the age of the items. If there are multiple results with the same age, they are further sorted by name in descending order, per age value.
|
|
632
549
|
*
|
|
633
|
-
*
|
|
550
|
+
* Finally, to run the query, chain [`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) as the last method.
|
|
634
551
|
*
|
|
635
552
|
* The `query()` method runs with the following `WixDataQuery` defaults that you can override:
|
|
636
|
-
* - `skip`: 0
|
|
637
|
-
* - `limit`: 50
|
|
553
|
+
* - `skip`: `0`
|
|
554
|
+
* - `limit`: `50`
|
|
638
555
|
* - `descending`: by `_createdDate`
|
|
639
|
-
* - `include`: none
|
|
640
|
-
*
|
|
641
|
-
* If the collection that you are querying has references to other collections, by default the data from referenced collections is not retrieved. To retrieve data from the referenced items, specify them using the `include()` method.
|
|
556
|
+
* - `include`: `none`
|
|
642
557
|
*
|
|
643
558
|
* > **Notes**:
|
|
644
|
-
* > - When calling `query()` following an update to your collection, the data retrieved might not contain the most recent changes. If you need the most up-to-date data, set `options.consistentRead` to `true`.
|
|
645
|
-
* > - Items marked as hidden are not retrieved.
|
|
646
|
-
*
|
|
647
|
-
* When
|
|
648
|
-
*
|
|
649
|
-
*
|
|
650
|
-
* - Can be sorted and filtered
|
|
651
|
-
* - Read-only: Check which fields can be used in a query.
|
|
559
|
+
* > - When calling `query()` immediately following an update to your collection, the data retrieved might not contain the most recent changes. If you need the most up-to-date data, set the `options.consistentRead` parameter of 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 to `true`. Learn more about [Wix Data and Eventual Consistency](https://dev.wix.com/docs/sdk/backend-modules/data/eventual-consistency).
|
|
560
|
+
* > - Items marked [in the CMS as hidden](https://support.wix.com/en/article/cms-controlling-live-site-item-visibility-from-your-collection) are not retrieved.
|
|
561
|
+
* > - If the collection that you are querying has references to other collections, by default the data from referenced collections is not retrieved. To retrieve data from the referenced items, specify them using the `include()` method.
|
|
562
|
+
* > - When querying [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), make sure the fields you use to refine your query support the intended operations. Learn more about [querying by Wix app collection fields](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-app-collections/querying-wix-app-collections).
|
|
563
|
+
*
|
|
564
|
+
*
|
|
652
565
|
* @public
|
|
653
566
|
* @documentationMaturity preview
|
|
654
567
|
* @requiredField dataCollectionId
|
|
@@ -667,16 +580,15 @@ export function query(dataCollectionId) {
|
|
|
667
580
|
* The `aggregate()` method builds an aggregation on the specified collection and returns a `WixDataAggregate` object.
|
|
668
581
|
*
|
|
669
582
|
* An aggregation enables you to perform certain calculations on your collection data, or on groups of items that you define, to retrieve meaningful summaries.
|
|
670
|
-
* You can also add paging, filtering, and sorting preferences to your aggregation to retrieve exactly what you need.
|
|
671
583
|
*
|
|
672
|
-
*
|
|
584
|
+
* You can also add paging, filtering, and sorting preferences to your aggregation by chaining [`WixDataAggregate`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-aggregate/introduction) methods. The returned object contains the aggregate definition.
|
|
673
585
|
*
|
|
674
|
-
*
|
|
586
|
+
* Finally, to run the aggregation, chain [`run()`](https://dev.wix.com/docs/sdk/backend-modules/data/items-new/wix-data-aggregate/run) as the last method.
|
|
675
587
|
*
|
|
676
588
|
* The `aggregate()` method runs with the following defaults that you can override:
|
|
677
589
|
*
|
|
678
|
-
* + `skip`
|
|
679
|
-
* + `limit
|
|
590
|
+
* + `skip`: `0`
|
|
591
|
+
* + `limit`: `50`
|
|
680
592
|
*
|
|
681
593
|
* @public
|
|
682
594
|
* @documentationMaturity preview
|
|
@@ -700,10 +612,9 @@ export function aggregate(dataCollectionId) {
|
|
|
700
612
|
* The `queryReferenced()` method returns a Promise that resolves to the full items referenced in the specified property of the item from the specified collection. The Promise is rejected if the current user does not have read permissions for the specified collection or the collection containing the referenced items.
|
|
701
613
|
*
|
|
702
614
|
* > **Notes**:
|
|
703
|
-
* > - Calling `queryReferenced()` does not trigger any hooks.
|
|
704
615
|
* > - You can only call `queryReferenced()` for [multi-reference fields](https://support.wix.com/en/article/about-referencing-multiple-items-in-one-field).
|
|
705
616
|
* > - This method does not support [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
706
|
-
* > - When calling `queryReferenced()` following an update to your collection, the data retrieved [may not contain the most recent changes](https://dev.wix.com/docs/sdk/backend-modules/data/eventual-consistency). If you need the most up-to-date data, set `options.consistentRead` to `true`.
|
|
617
|
+
* > - When calling `queryReferenced()` immediately following an update to your collection, the data retrieved [may not contain the most recent changes](https://dev.wix.com/docs/sdk/backend-modules/data/eventual-consistency). If you need the most up-to-date data, set `options.consistentRead` to `true`.
|
|
707
618
|
*
|
|
708
619
|
* Learn more about [querying items that reference other items](https://support.wix.com/en/article/including-referenced-data-when-filtering).
|
|
709
620
|
* @public
|
|
@@ -728,7 +639,7 @@ export async function queryReferenced(dataCollectionId, referringItem, field, op
|
|
|
728
639
|
*
|
|
729
640
|
* The `filter()` method builds a filter to be applied to a query or an aggregation. It returns a `WixDataFilter` object, which can be used with other filter methods such as `and()`, `or()` and `not()`, to create complex filter definitions.
|
|
730
641
|
*
|
|
731
|
-
* When working with [Wix app collections](https://
|
|
642
|
+
* When working with [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code), check which fields can be used in a filter.
|
|
732
643
|
*
|
|
733
644
|
* @public
|
|
734
645
|
* @documentationMaturity preview
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAM,CAAC,KAAK,UAAU,IAAI,CACxB,gBAAwB,EACxB,IAA0B,EAC1B,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IA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,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAA;AAC3E,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,gBAAwB,EACxB,aAAmC,EACnC,KAAa,EACb,OAIC;IAED,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,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.226",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Rimvydas Gimbutas",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@wix/metro-runtime": "^1.1878.0",
|
|
37
37
|
"@wix/sdk-runtime": "^0.3.27",
|
|
38
38
|
"@wix/sdk-types": "^1.12.7",
|
|
39
|
-
"@wix/wix-data-items-common": "1.0.
|
|
39
|
+
"@wix/wix-data-items-common": "1.0.80"
|
|
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": "c075370a26f63315f9c2f832e638b36e94f7d9105ea4e69c7b6ae457"
|
|
79
79
|
}
|