@wix/wix-data-items-sdk 1.0.194 → 1.0.196
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/index.typings.d.ts +0 -2
- package/build/cjs/src/data-v2-data-item-items.universal.d.ts +14 -16
- package/build/cjs/src/data-v2-data-item-items.universal.js +13 -14
- package/build/cjs/src/data-v2-data-item-items.universal.js.map +1 -1
- package/build/es/index.typings.d.ts +0 -2
- package/build/es/src/data-v2-data-item-items.universal.d.ts +14 -16
- package/build/es/src/data-v2-data-item-items.universal.js +13 -14
- package/build/es/src/data-v2-data-item-items.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -90,10 +90,10 @@ export declare function insert(dataCollectionId: string, item: Partial<WixDataIt
|
|
|
90
90
|
*
|
|
91
91
|
* The maximum size of an item that you can update in a collection is 500kb.
|
|
92
92
|
*
|
|
93
|
-
* > **
|
|
94
|
-
* > The specified item must include an `_id` property that already exists in the collection.
|
|
95
|
-
* > The update() method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
96
|
-
* > - [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 update() fails and issues an error.
|
|
93
|
+
* > **Notes:**
|
|
94
|
+
* > - The specified item must include an `_id` property that already exists in the collection.
|
|
95
|
+
* > - The `update()` method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
96
|
+
* > - [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 `update()` fails and issues an error.
|
|
97
97
|
*
|
|
98
98
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
99
99
|
* @param item - Data item to update.
|
|
@@ -327,12 +327,10 @@ export declare function bulkInsert(dataCollectionId: string, items: Partial<WixD
|
|
|
327
327
|
* items with the `_id` property values of the items in the specified
|
|
328
328
|
* collection.
|
|
329
329
|
*
|
|
330
|
-
* > **Warning:**
|
|
331
|
-
* > `_id` of the specified item, bulkUpdate replaces the existing item's
|
|
332
|
-
*
|
|
333
|
-
* > item
|
|
334
|
-
* > the specified item, the values in those properties are lost.** The item's
|
|
335
|
-
* `_updatedDate` property is also updated to the current date.
|
|
330
|
+
* > **Warning:**
|
|
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
|
+
*
|
|
333
|
+
* > The item's `_updatedDate` property is also updated to the current date.
|
|
336
334
|
*
|
|
337
335
|
* Any valid JavaScript object can be used as a property value. The
|
|
338
336
|
* `bulkUpdate()` method maintains the structure of the specified object. For
|
|
@@ -571,7 +569,7 @@ export declare function bulkPatch(dataCollectionId: string, itemIds: string[]):
|
|
|
571
569
|
*
|
|
572
570
|
* The `query()` method builds a query to retrieve data items from a collection and returns a `WixDataQuery` object, which contains the query definition.
|
|
573
571
|
*
|
|
574
|
-
* 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. 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.
|
|
575
573
|
*
|
|
576
574
|
* 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.
|
|
577
575
|
*
|
|
@@ -585,7 +583,7 @@ export declare function bulkPatch(dataCollectionId: string, itemIds: string[]):
|
|
|
585
583
|
*
|
|
586
584
|
* > **Notes**:
|
|
587
585
|
* > - 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`.
|
|
588
|
-
* - Items marked as hidden are not retrieved.
|
|
586
|
+
* > - Items marked as hidden are not retrieved.
|
|
589
587
|
*
|
|
590
588
|
* When working with Wix app collections, queried fields must have the following permissions:
|
|
591
589
|
* - Connect to data
|
|
@@ -627,7 +625,6 @@ export declare function query(dataCollectionId: string): WixDataQuery;
|
|
|
627
625
|
* @applicableIdentity APP
|
|
628
626
|
*/
|
|
629
627
|
export declare function aggregate(dataCollectionId: string): WixDataAggregate;
|
|
630
|
-
export type ReferringItem = WixDataItem | string;
|
|
631
628
|
/**
|
|
632
629
|
* Retrieves the full items referenced in the specified field of an item.
|
|
633
630
|
*
|
|
@@ -635,13 +632,14 @@ export type ReferringItem = WixDataItem | string;
|
|
|
635
632
|
*
|
|
636
633
|
* For example, suppose you have a **Movies** collection with an **Actors** field that contains references to items in a **People** collection. Querying the **Movies** collection using `queryReferenced()` retrieves the relevant **People** items referenced in the **Actors** field of the specified **Movie** item. This gives you information from the **People** collection about each of the actors in the specified movie.
|
|
637
634
|
*
|
|
638
|
-
* 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.
|
|
635
|
+
* 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.
|
|
639
636
|
*
|
|
640
637
|
* > **Notes**:
|
|
641
638
|
* > - Calling `queryReferenced()` does not trigger any hooks.
|
|
642
639
|
* > - You can only call `queryReferenced()` for [multi-reference fields](https://support.wix.com/en/article/about-referencing-multiple-items-in-one-field).
|
|
643
|
-
* > - This method does not support [single-item collections](
|
|
640
|
+
* > - This method does not support [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
644
641
|
* > - 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`.
|
|
642
|
+
*
|
|
645
643
|
* Learn more about [querying items that reference other items](https://support.wix.com/en/article/including-referenced-data-when-filtering).
|
|
646
644
|
* @public
|
|
647
645
|
* @documentationMaturity preview
|
|
@@ -656,7 +654,7 @@ export type ReferringItem = WixDataItem | string;
|
|
|
656
654
|
* @permissionScopeId SCOPE.DC-DATA.READ
|
|
657
655
|
* @applicableIdentity APP
|
|
658
656
|
*/
|
|
659
|
-
export declare function queryReferenced(dataCollectionId: string, referringItem:
|
|
657
|
+
export declare function queryReferenced(dataCollectionId: string, referringItem: WixDataItem | string, field: string, options?: WixDataReadWithProjectionOptions & {
|
|
660
658
|
order?: 'asc' | 'desc';
|
|
661
659
|
skip?: number;
|
|
662
660
|
limit?: number;
|
|
@@ -119,10 +119,10 @@ async function insert(dataCollectionId, item, options) {
|
|
|
119
119
|
*
|
|
120
120
|
* The maximum size of an item that you can update in a collection is 500kb.
|
|
121
121
|
*
|
|
122
|
-
* > **
|
|
123
|
-
* > The specified item must include an `_id` property that already exists in the collection.
|
|
124
|
-
* > The update() method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
125
|
-
* > - [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 update() fails and issues an error.
|
|
122
|
+
* > **Notes:**
|
|
123
|
+
* > - The specified item must include an `_id` property that already exists in the collection.
|
|
124
|
+
* > - The `update()` method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
125
|
+
* > - [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 `update()` fails and issues an error.
|
|
126
126
|
*
|
|
127
127
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
128
128
|
* @param item - Data item to update.
|
|
@@ -374,12 +374,10 @@ async function bulkInsert(dataCollectionId, items, options) {
|
|
|
374
374
|
* items with the `_id` property values of the items in the specified
|
|
375
375
|
* collection.
|
|
376
376
|
*
|
|
377
|
-
* > **Warning:**
|
|
378
|
-
* > `_id` of the specified item, bulkUpdate replaces the existing item's
|
|
379
|
-
*
|
|
380
|
-
* > item
|
|
381
|
-
* > the specified item, the values in those properties are lost.** The item's
|
|
382
|
-
* `_updatedDate` property is also updated to the current date.
|
|
377
|
+
* > **Warning:**
|
|
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
|
+
*
|
|
380
|
+
* > The item's `_updatedDate` property is also updated to the current date.
|
|
383
381
|
*
|
|
384
382
|
* Any valid JavaScript object can be used as a property value. The
|
|
385
383
|
* `bulkUpdate()` method maintains the structure of the specified object. For
|
|
@@ -653,7 +651,7 @@ function bulkPatch(dataCollectionId, itemIds) {
|
|
|
653
651
|
*
|
|
654
652
|
* The `query()` method builds a query to retrieve data items from a collection and returns a `WixDataQuery` object, which contains the query definition.
|
|
655
653
|
*
|
|
656
|
-
* 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. 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.
|
|
657
655
|
*
|
|
658
656
|
* 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.
|
|
659
657
|
*
|
|
@@ -667,7 +665,7 @@ function bulkPatch(dataCollectionId, itemIds) {
|
|
|
667
665
|
*
|
|
668
666
|
* > **Notes**:
|
|
669
667
|
* > - 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`.
|
|
670
|
-
* - Items marked as hidden are not retrieved.
|
|
668
|
+
* > - Items marked as hidden are not retrieved.
|
|
671
669
|
*
|
|
672
670
|
* When working with Wix app collections, queried fields must have the following permissions:
|
|
673
671
|
* - Connect to data
|
|
@@ -722,13 +720,14 @@ function aggregate(dataCollectionId) {
|
|
|
722
720
|
*
|
|
723
721
|
* For example, suppose you have a **Movies** collection with an **Actors** field that contains references to items in a **People** collection. Querying the **Movies** collection using `queryReferenced()` retrieves the relevant **People** items referenced in the **Actors** field of the specified **Movie** item. This gives you information from the **People** collection about each of the actors in the specified movie.
|
|
724
722
|
*
|
|
725
|
-
* 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.
|
|
723
|
+
* 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.
|
|
726
724
|
*
|
|
727
725
|
* > **Notes**:
|
|
728
726
|
* > - Calling `queryReferenced()` does not trigger any hooks.
|
|
729
727
|
* > - You can only call `queryReferenced()` for [multi-reference fields](https://support.wix.com/en/article/about-referencing-multiple-items-in-one-field).
|
|
730
|
-
* > - This method does not support [single-item collections](
|
|
728
|
+
* > - This method does not support [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
731
729
|
* > - 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`.
|
|
730
|
+
*
|
|
732
731
|
* Learn more about [querying items that reference other items](https://support.wix.com/en/article/including-referenced-data-when-filtering).
|
|
733
732
|
* @public
|
|
734
733
|
* @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":";;;AA6EA,wBAeC;AAiDD,wBAeC;AA+CD,oBAeC;AA0CD,kBAeC;AAiCD,wBAeC;AA4BD,4BAOC;AA0DD,gCAeC;
|
|
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;AAoCD,sBAOC;AA2BD,8BAOC;AA+BD,0CAqBC;AAYD,wBAOC;AAp+BD,iDAA8C;AAC9C,sEAemC;AA+9BjC,6FAn+BA,oCAAY,OAm+BA;AAEZ,0FAn+BA,iCAAS,OAm+BA;AA/9BX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACI,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,IAA0B,EAC1B,OAA8B;IAE9B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,IAAA,4BAAa,EAAC,UAAU,EAAE,WAAW,CAAC,CAAC,MAAM,CAClD,gBAAgB,EAChB,IAAI,EACJ,OAAO,CACR,CAAA;AACH,CA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AM,CAAA;AACtD,CAAC"}
|
|
@@ -90,10 +90,10 @@ export declare function insert(dataCollectionId: string, item: Partial<WixDataIt
|
|
|
90
90
|
*
|
|
91
91
|
* The maximum size of an item that you can update in a collection is 500kb.
|
|
92
92
|
*
|
|
93
|
-
* > **
|
|
94
|
-
* > The specified item must include an `_id` property that already exists in the collection.
|
|
95
|
-
* > The update() method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
96
|
-
* > - [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 update() fails and issues an error.
|
|
93
|
+
* > **Notes:**
|
|
94
|
+
* > - The specified item must include an `_id` property that already exists in the collection.
|
|
95
|
+
* > - The `update()` method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
96
|
+
* > - [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 `update()` fails and issues an error.
|
|
97
97
|
*
|
|
98
98
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
99
99
|
* @param item - Data item to update.
|
|
@@ -327,12 +327,10 @@ export declare function bulkInsert(dataCollectionId: string, items: Partial<WixD
|
|
|
327
327
|
* items with the `_id` property values of the items in the specified
|
|
328
328
|
* collection.
|
|
329
329
|
*
|
|
330
|
-
* > **Warning:**
|
|
331
|
-
* > `_id` of the specified item, bulkUpdate replaces the existing item's
|
|
332
|
-
*
|
|
333
|
-
* > item
|
|
334
|
-
* > the specified item, the values in those properties are lost.** The item's
|
|
335
|
-
* `_updatedDate` property is also updated to the current date.
|
|
330
|
+
* > **Warning:**
|
|
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
|
+
*
|
|
333
|
+
* > The item's `_updatedDate` property is also updated to the current date.
|
|
336
334
|
*
|
|
337
335
|
* Any valid JavaScript object can be used as a property value. The
|
|
338
336
|
* `bulkUpdate()` method maintains the structure of the specified object. For
|
|
@@ -571,7 +569,7 @@ export declare function bulkPatch(dataCollectionId: string, itemIds: string[]):
|
|
|
571
569
|
*
|
|
572
570
|
* The `query()` method builds a query to retrieve data items from a collection and returns a `WixDataQuery` object, which contains the query definition.
|
|
573
571
|
*
|
|
574
|
-
* 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. 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.
|
|
575
573
|
*
|
|
576
574
|
* 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.
|
|
577
575
|
*
|
|
@@ -585,7 +583,7 @@ export declare function bulkPatch(dataCollectionId: string, itemIds: string[]):
|
|
|
585
583
|
*
|
|
586
584
|
* > **Notes**:
|
|
587
585
|
* > - 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`.
|
|
588
|
-
* - Items marked as hidden are not retrieved.
|
|
586
|
+
* > - Items marked as hidden are not retrieved.
|
|
589
587
|
*
|
|
590
588
|
* When working with Wix app collections, queried fields must have the following permissions:
|
|
591
589
|
* - Connect to data
|
|
@@ -627,7 +625,6 @@ export declare function query(dataCollectionId: string): WixDataQuery;
|
|
|
627
625
|
* @applicableIdentity APP
|
|
628
626
|
*/
|
|
629
627
|
export declare function aggregate(dataCollectionId: string): WixDataAggregate;
|
|
630
|
-
export type ReferringItem = WixDataItem | string;
|
|
631
628
|
/**
|
|
632
629
|
* Retrieves the full items referenced in the specified field of an item.
|
|
633
630
|
*
|
|
@@ -635,13 +632,14 @@ export type ReferringItem = WixDataItem | string;
|
|
|
635
632
|
*
|
|
636
633
|
* For example, suppose you have a **Movies** collection with an **Actors** field that contains references to items in a **People** collection. Querying the **Movies** collection using `queryReferenced()` retrieves the relevant **People** items referenced in the **Actors** field of the specified **Movie** item. This gives you information from the **People** collection about each of the actors in the specified movie.
|
|
637
634
|
*
|
|
638
|
-
* 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.
|
|
635
|
+
* 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.
|
|
639
636
|
*
|
|
640
637
|
* > **Notes**:
|
|
641
638
|
* > - Calling `queryReferenced()` does not trigger any hooks.
|
|
642
639
|
* > - You can only call `queryReferenced()` for [multi-reference fields](https://support.wix.com/en/article/about-referencing-multiple-items-in-one-field).
|
|
643
|
-
* > - This method does not support [single-item collections](
|
|
640
|
+
* > - This method does not support [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
644
641
|
* > - 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`.
|
|
642
|
+
*
|
|
645
643
|
* Learn more about [querying items that reference other items](https://support.wix.com/en/article/including-referenced-data-when-filtering).
|
|
646
644
|
* @public
|
|
647
645
|
* @documentationMaturity preview
|
|
@@ -656,7 +654,7 @@ export type ReferringItem = WixDataItem | string;
|
|
|
656
654
|
* @permissionScopeId SCOPE.DC-DATA.READ
|
|
657
655
|
* @applicableIdentity APP
|
|
658
656
|
*/
|
|
659
|
-
export declare function queryReferenced(dataCollectionId: string, referringItem:
|
|
657
|
+
export declare function queryReferenced(dataCollectionId: string, referringItem: WixDataItem | string, field: string, options?: WixDataReadWithProjectionOptions & {
|
|
660
658
|
order?: 'asc' | 'desc';
|
|
661
659
|
skip?: number;
|
|
662
660
|
limit?: number;
|
|
@@ -94,10 +94,10 @@ export async function insert(dataCollectionId, item, options) {
|
|
|
94
94
|
*
|
|
95
95
|
* The maximum size of an item that you can update in a collection is 500kb.
|
|
96
96
|
*
|
|
97
|
-
* > **
|
|
98
|
-
* > The specified item must include an `_id` property that already exists in the collection.
|
|
99
|
-
* > The update() method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
100
|
-
* > - [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 update() fails and issues an error.
|
|
97
|
+
* > **Notes:**
|
|
98
|
+
* > - The specified item must include an `_id` property that already exists in the collection.
|
|
99
|
+
* > - The `update()` method does not support multi-reference fields. For multi-reference fields, use `replaceReferences()` or `insertReference()`.
|
|
100
|
+
* > - [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 `update()` fails and issues an error.
|
|
101
101
|
*
|
|
102
102
|
* @param dataCollectionId - ID of the collection item belongs to.
|
|
103
103
|
* @param item - Data item to update.
|
|
@@ -349,12 +349,10 @@ export async function bulkInsert(dataCollectionId, items, options) {
|
|
|
349
349
|
* items with the `_id` property values of the items in the specified
|
|
350
350
|
* collection.
|
|
351
351
|
*
|
|
352
|
-
* > **Warning:**
|
|
353
|
-
* > `_id` of the specified item, bulkUpdate replaces the existing item's
|
|
354
|
-
*
|
|
355
|
-
* > item
|
|
356
|
-
* > the specified item, the values in those properties are lost.** The item's
|
|
357
|
-
* `_updatedDate` property is also updated to the current date.
|
|
352
|
+
* > **Warning:**
|
|
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
|
+
*
|
|
355
|
+
* > The item's `_updatedDate` property is also updated to the current date.
|
|
358
356
|
*
|
|
359
357
|
* Any valid JavaScript object can be used as a property value. The
|
|
360
358
|
* `bulkUpdate()` method maintains the structure of the specified object. For
|
|
@@ -628,7 +626,7 @@ export function bulkPatch(dataCollectionId, itemIds) {
|
|
|
628
626
|
*
|
|
629
627
|
* The `query()` method builds a query to retrieve data items from a collection and returns a `WixDataQuery` object, which contains the query definition.
|
|
630
628
|
*
|
|
631
|
-
* 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. 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.
|
|
632
630
|
*
|
|
633
631
|
* 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.
|
|
634
632
|
*
|
|
@@ -642,7 +640,7 @@ export function bulkPatch(dataCollectionId, itemIds) {
|
|
|
642
640
|
*
|
|
643
641
|
* > **Notes**:
|
|
644
642
|
* > - 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.
|
|
643
|
+
* > - Items marked as hidden are not retrieved.
|
|
646
644
|
*
|
|
647
645
|
* When working with Wix app collections, queried fields must have the following permissions:
|
|
648
646
|
* - Connect to data
|
|
@@ -697,13 +695,14 @@ export function aggregate(dataCollectionId) {
|
|
|
697
695
|
*
|
|
698
696
|
* For example, suppose you have a **Movies** collection with an **Actors** field that contains references to items in a **People** collection. Querying the **Movies** collection using `queryReferenced()` retrieves the relevant **People** items referenced in the **Actors** field of the specified **Movie** item. This gives you information from the **People** collection about each of the actors in the specified movie.
|
|
699
697
|
*
|
|
700
|
-
* 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.
|
|
698
|
+
* 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
699
|
*
|
|
702
700
|
* > **Notes**:
|
|
703
701
|
* > - Calling `queryReferenced()` does not trigger any hooks.
|
|
704
702
|
* > - You can only call `queryReferenced()` for [multi-reference fields](https://support.wix.com/en/article/about-referencing-multiple-items-in-one-field).
|
|
705
|
-
* > - This method does not support [single-item collections](
|
|
703
|
+
* > - This method does not support [single-item collections](https://support.wix.com/en/article/cms-adding-and-setting-up-a-single-item-collection).
|
|
706
704
|
* > - 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`.
|
|
705
|
+
*
|
|
707
706
|
* Learn more about [querying items that reference other items](https://support.wix.com/en/article/including-referenced-data-when-filtering).
|
|
708
707
|
* @public
|
|
709
708
|
* @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,4BAA4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SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,GAAG,CAC/C,gBAAgB,EAChB,MAAM,EACN,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,gBAAwB,EACxB,MAAc,EACd,OAAwB;IAExB,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,MAAM,EACN,OAAO,CACR,CAAA;AACH,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAC,gBAAwB;IACrD,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAA;AAC1E,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAM,CAAC,KAAK,UAAU,UAAU,CAC9B,gBAAwB,EACxB,KAA6B,EAC7B,OAAwB;IAExB,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAA;IAED,OAAO,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,UAAU,CACtD,gBAAgB,EAChB,KAAK,EACL,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,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;;;;;GA4BG;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.196",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Rimvydas Gimbutas",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@wix/metro-runtime": "^1.1855.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.68"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@eslint/js": "^9.14.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"wallaby": {
|
|
74
74
|
"autoDetect": true
|
|
75
75
|
},
|
|
76
|
-
"falconPackageHash": "
|
|
76
|
+
"falconPackageHash": "0f4924043ef9c97b8ef3e9692abfe5cd9dddd8372e5b260a12501fb9"
|
|
77
77
|
}
|