@wix/wix-data-items-common 1.0.236 → 1.0.237
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/dist/cjs/api/PipelineBuilder.js +2 -2
- package/dist/cjs/api/PipelineBuilder.js.map +1 -1
- package/dist/cjs/api/WixDataAggregate.js.map +1 -1
- package/dist/cjs/api/WixDataFilter.js.map +1 -1
- package/dist/cjs/api/WixDataQuery.js.map +1 -1
- package/dist/cjs/api/WixDataSearch.js.map +1 -1
- package/dist/cjs/api/expressions/expressions.js.map +1 -1
- package/dist/cjs/api/stages/FilterStage.js.map +1 -1
- package/dist/cjs/api/stages/GroupStage.js +3 -1
- package/dist/cjs/api/stages/GroupStage.js.map +1 -1
- package/dist/cjs/api/stages/ProjectStage.js.map +1 -1
- package/dist/cjs/api/stages/SortStage.js.map +1 -1
- package/dist/cjs/api/stages/stages.js.map +1 -1
- package/dist/cjs/api/types.js.map +1 -1
- package/dist/cjs/filter/WithFilter.js.map +1 -1
- package/dist/cjs/types/data-item-types.js.map +1 -1
- package/dist/esm/api/PipelineBuilder.js +2 -2
- package/dist/esm/api/stages/FilterStage.js.map +1 -1
- package/dist/esm/api/stages/GroupStage.js +3 -1
- package/dist/esm/api/stages/GroupStage.js.map +1 -1
- package/dist/esm/api/stages/ProjectStage.js.map +1 -1
- package/dist/types/api/PipelineBuilder.d.ts +4 -4
- package/dist/types/api/WixDataAggregate.d.ts +7 -7
- package/dist/types/api/WixDataFilter.d.ts +50 -84
- package/dist/types/api/WixDataFilter.d.ts.map +1 -1
- package/dist/types/api/WixDataQuery.d.ts +44 -71
- package/dist/types/api/WixDataQuery.d.ts.map +1 -1
- package/dist/types/api/WixDataSearch.d.ts +33 -33
- package/dist/types/api/expressions/expressions.d.ts +13 -13
- package/dist/types/api/stages/FilterStage.d.ts +70 -123
- package/dist/types/api/stages/FilterStage.d.ts.map +1 -1
- package/dist/types/api/stages/GroupStage.d.ts +20 -19
- package/dist/types/api/stages/GroupStage.d.ts.map +1 -1
- package/dist/types/api/stages/ProjectStage.d.ts +6 -7
- package/dist/types/api/stages/ProjectStage.d.ts.map +1 -1
- package/dist/types/api/stages/SortStage.d.ts +2 -2
- package/dist/types/api/stages/stages.d.ts +16 -8
- package/dist/types/api/stages/stages.d.ts.map +1 -1
- package/dist/types/api/types.d.ts +2 -2
- package/dist/types/filter/WithFilter.d.ts +26 -42
- package/dist/types/filter/WithFilter.d.ts.map +1 -1
- package/dist/types/types/data-item-types.d.ts +6 -6
- package/package.json +2 -2
|
@@ -115,9 +115,9 @@ export interface WixDataSearch {
|
|
|
115
115
|
*/
|
|
116
116
|
ascending(...fields: any): WixDataSearch;
|
|
117
117
|
/**
|
|
118
|
-
* Refines a search to match items
|
|
118
|
+
* Refines a search to match items where the value of the specified field equals the specified value.
|
|
119
119
|
*
|
|
120
|
-
* The `eq()` method refines the search to only match items where the value of the specified field equals the specified `value`.
|
|
120
|
+
* The `eq()` method refines the search to only match items where the value of the specified field equals the specified `value`. The method only matches values of the same [data type](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data). For example, a number value stored as a number does not match the same number stored as a string.
|
|
121
121
|
*
|
|
122
122
|
* Matching strings with `eq()` is case-sensitive, so `"text"` is not considered equal to `"Text"`.
|
|
123
123
|
*
|
|
@@ -133,11 +133,11 @@ export interface WixDataSearch {
|
|
|
133
133
|
*/
|
|
134
134
|
eq(field: string, value: any): WixDataSearch;
|
|
135
135
|
/**
|
|
136
|
-
* Refines a search to match items
|
|
136
|
+
* Refines a search to match items where the value of the specified field does not equal the specified value.
|
|
137
137
|
*
|
|
138
138
|
* The `ne()` method refines the search to only match items where the value of the specified field does not equal the specified `value`.
|
|
139
139
|
*
|
|
140
|
-
*
|
|
140
|
+
* The method only matches values of the same [data type](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data). For example, a number value stored as a number is considered not equal to the same number stored as a string.
|
|
141
141
|
*
|
|
142
142
|
* Matching strings with `ne()` is case-sensitive, so `"text"` is not equal to `"Text"`.
|
|
143
143
|
*
|
|
@@ -152,12 +152,12 @@ export interface WixDataSearch {
|
|
|
152
152
|
*/
|
|
153
153
|
ne(field: string, value: any): WixDataSearch;
|
|
154
154
|
/**
|
|
155
|
-
* Refines a search to match items
|
|
155
|
+
* Refines a search to match items where the value of the specified field is greater than or equal to the specified value.
|
|
156
156
|
*
|
|
157
157
|
* The `ge()` method refines the search to only match items where the value of the specified field is greater than or equal to the specified `value`.
|
|
158
158
|
*
|
|
159
|
-
*
|
|
160
|
-
* as a
|
|
159
|
+
* The method only matches values of the same [data type](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data). For example, a number value stored
|
|
160
|
+
* as a number does not match the same number stored as a string.
|
|
161
161
|
*
|
|
162
162
|
* If a field contains a number as a String, that value is compared
|
|
163
163
|
* alphabetically and not numerically. Items that do not have a value for the
|
|
@@ -178,11 +178,11 @@ export interface WixDataSearch {
|
|
|
178
178
|
*/
|
|
179
179
|
ge(field: string, value: string | number | Date): WixDataSearch;
|
|
180
180
|
/**
|
|
181
|
-
* Refines a search to match items
|
|
181
|
+
* Refines a search to match items where the value of the specified field is greater than the specified value.
|
|
182
182
|
*
|
|
183
183
|
* The `gt()` method refines the search to only match items where the value of the specified field is greater than the specified `value`.
|
|
184
184
|
*
|
|
185
|
-
*
|
|
185
|
+
* The method only matches values of the same [data type](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data). For example, a number value stored as a number does not match the same number stored as a string.
|
|
186
186
|
*
|
|
187
187
|
* If a field contains a number as a String, that value is compared alphabetically and not numerically. Items that do not have a value for the specified field are ranked lowest.
|
|
188
188
|
*
|
|
@@ -201,11 +201,11 @@ export interface WixDataSearch {
|
|
|
201
201
|
*/
|
|
202
202
|
gt(field: string, value: string | number | Date): WixDataSearch;
|
|
203
203
|
/**
|
|
204
|
-
* Refines a search to match items
|
|
204
|
+
* Refines a search to match items where the value of the specified field is less than or equal to the specified value.
|
|
205
205
|
*
|
|
206
|
-
* The `le()` method refines the search to only match items where the value of the specified field is less than or equal to the specified
|
|
206
|
+
* The `le()` method refines the search to only match items where the value of the specified field is less than or equal to the specified value.
|
|
207
207
|
*
|
|
208
|
-
*
|
|
208
|
+
* The method only matches values of the same [data type](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data). For example, a number value stored as a number does not match the same number stored as a string.
|
|
209
209
|
*
|
|
210
210
|
* If a field contains a number as a String, that value is compared alphabetically and not numerically. Items that do not have a value for the specified field are ranked lowest.
|
|
211
211
|
*
|
|
@@ -213,7 +213,7 @@ export interface WixDataSearch {
|
|
|
213
213
|
* - Number: Compares numerically.
|
|
214
214
|
* - Date: Compares JavaScript Date objects.
|
|
215
215
|
* - String: Compares lexicographically, so `"ABC"` is less than or equal to `"abc"`, but `"abc"` is not less than or equal to `"ABC"`.
|
|
216
|
-
* - Reference: Compares by the ID of the referenced item as a
|
|
216
|
+
* - Reference: Compares by the ID of the referenced item as a string.
|
|
217
217
|
* @public
|
|
218
218
|
* @documentationMaturity preview
|
|
219
219
|
* @param field - Field whose value is compared with `value`.
|
|
@@ -224,13 +224,13 @@ export interface WixDataSearch {
|
|
|
224
224
|
*/
|
|
225
225
|
le(field: string, value: string | number | Date): WixDataSearch;
|
|
226
226
|
/**
|
|
227
|
-
* Refines a search to match items
|
|
227
|
+
* Refines a search to match items where the value of the specified field is less than the specified value.
|
|
228
228
|
*
|
|
229
229
|
* The `lt()` method refines the search to only match items where the value of the specified field is less than the specified `value`.
|
|
230
230
|
*
|
|
231
|
-
*
|
|
231
|
+
* The method only matches values of the same [data type](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data). For example, a number value stored as a number does not match the same number stored as a string.
|
|
232
232
|
*
|
|
233
|
-
* If a field contains a number as a
|
|
233
|
+
* If a field contains a number as a string, that value is compared alphabetically and not numerically. Items that do not have a value for the specified field are ranked lowest.
|
|
234
234
|
*
|
|
235
235
|
* The following types of fields can be compared:
|
|
236
236
|
* - Number: Compares numerically.
|
|
@@ -254,7 +254,7 @@ export interface WixDataSearch {
|
|
|
254
254
|
* If the field contains any value at all for a given item, including an empty string or an invalid value, that item matches the search filter.
|
|
255
255
|
* @public
|
|
256
256
|
* @documentationMaturity preview
|
|
257
|
-
* @param field - Field
|
|
257
|
+
* @param field - Field to check for a non-empty value.
|
|
258
258
|
* @requiredField field
|
|
259
259
|
* @returns Refined WixDataSearch object.
|
|
260
260
|
*/
|
|
@@ -267,15 +267,15 @@ export interface WixDataSearch {
|
|
|
267
267
|
* If the field contains any value at all for a given item, including an empty string or an invalid value, that item does not match the search filter.
|
|
268
268
|
* @public
|
|
269
269
|
* @documentationMaturity preview
|
|
270
|
-
* @param field - Field
|
|
270
|
+
* @param field - Field to check for an empty or non-existent value.
|
|
271
271
|
* @requiredField field
|
|
272
272
|
* @returns Refined WixDataSearch object.
|
|
273
273
|
*/
|
|
274
274
|
isEmpty(field: string): WixDataSearch;
|
|
275
275
|
/**
|
|
276
|
-
* Refines a search to match items
|
|
276
|
+
* Refines a search to match items where the value of the specified field starts with a specified value.
|
|
277
277
|
*
|
|
278
|
-
* The `startsWith()` method refines the search to only match items where the value of the specified field starts with the specified
|
|
278
|
+
* The `startsWith()` method refines the search to only match items where the value of the specified field starts with the specified value. Matching with `startsWith()` is case-sensitive, so searching for `"Sun"` does not match an item that contains the text `"sunshine"`.
|
|
279
279
|
*
|
|
280
280
|
* You can only use `startsWith()` with a field whose value is a String or Reference. When using a Reference, `startsWith()` matches by the ID of the referenced item as a String.
|
|
281
281
|
* @public
|
|
@@ -288,20 +288,20 @@ export interface WixDataSearch {
|
|
|
288
288
|
*/
|
|
289
289
|
startsWith(field: string, value: string): WixDataSearch;
|
|
290
290
|
/**
|
|
291
|
-
* Refines a search to match items
|
|
291
|
+
* Refines a search to match items where the value of the specified field equals any of the specified values.
|
|
292
292
|
*
|
|
293
293
|
* The `hasSome()` method refines the search to only match items where the value of the specified field equals any of the specified values.
|
|
294
294
|
*
|
|
295
|
-
* Matching strings with `hasSome()` is case-sensitive, so `"text"` is not equal to `"Text"`.
|
|
295
|
+
* Matching strings with `hasSome()` is case-sensitive, so `"text"` is not considered equal to `"Text"`.
|
|
296
296
|
*
|
|
297
|
-
* If the specified field contains an array, `hasSome()` matches
|
|
297
|
+
* If the specified field contains an array, `hasSome()` matches items where any of the array's elements match any of the specified values.
|
|
298
298
|
*
|
|
299
|
-
* If the specified field contains multiple references, pass item IDs as the values. `hasSome()` matches if any of the
|
|
299
|
+
* If the specified field contains multiple references, pass item IDs as the values. `hasSome()` matches if any of the references match any of the specified ID values.
|
|
300
300
|
*
|
|
301
|
-
* You can specify multiple values to match by providing an array of
|
|
301
|
+
* You can specify multiple values to match by providing an array of strings, numbers, or dates.
|
|
302
302
|
* @public
|
|
303
303
|
* @documentationMaturity preview
|
|
304
|
-
* @param field - Field whose value is compared with
|
|
304
|
+
* @param field - Field whose value is compared with the specified values.
|
|
305
305
|
* @requiredField field
|
|
306
306
|
* @param values - Values to match.
|
|
307
307
|
* @requiredField values
|
|
@@ -309,18 +309,18 @@ export interface WixDataSearch {
|
|
|
309
309
|
*/
|
|
310
310
|
hasSome(field: string, ...values: string[] | number[] | Date[]): WixDataSearch;
|
|
311
311
|
/**
|
|
312
|
-
* Overload for `hasSome()`. Refines a search to match items
|
|
312
|
+
* Overload for `hasSome()`. Refines a search to match items where the value of the specified field equals any of the specified values.
|
|
313
313
|
* @public
|
|
314
314
|
* @documentationMaturity preview
|
|
315
315
|
* @param field - Field whose value is compared with the provided values.
|
|
316
316
|
* @requiredField field
|
|
317
|
-
* @param values -
|
|
317
|
+
* @param values - Array of values to match.
|
|
318
318
|
* @requiredField values
|
|
319
319
|
* @returns Refined WixDataSearch object.
|
|
320
320
|
*/
|
|
321
321
|
hasSome(field: string, values: string[] | number[] | Date[]): WixDataSearch;
|
|
322
322
|
/**
|
|
323
|
-
* Refines a search to match items
|
|
323
|
+
* Refines a search to match items where the value of the specified field equals all of the specified values.
|
|
324
324
|
*
|
|
325
325
|
* The `hasAll()` method refines the search to only match items where the value of the specified field equals all of the specified values.
|
|
326
326
|
*
|
|
@@ -339,7 +339,7 @@ export interface WixDataSearch {
|
|
|
339
339
|
*/
|
|
340
340
|
hasAll(field: string, ...values: string[] | number[] | Date[]): WixDataSearch;
|
|
341
341
|
/**
|
|
342
|
-
* Overload for `hasAll()`. Refines a search to match items
|
|
342
|
+
* Overload for `hasAll()`. Refines a search to match items where the value of the specified fields equals all of the specified values.
|
|
343
343
|
* @public
|
|
344
344
|
* @documentationMaturity preview
|
|
345
345
|
* @param field - Field whose value is compared with the provided values.
|
|
@@ -422,13 +422,13 @@ export interface WixDataSearch {
|
|
|
422
422
|
*/
|
|
423
423
|
not(filter: WixDataFilter): WixDataSearch;
|
|
424
424
|
/**
|
|
425
|
-
* Refines a search to match items
|
|
425
|
+
* Refines a search to match items where the value of the specified field is within a specified range.
|
|
426
426
|
*
|
|
427
427
|
* The `between()` method refines the search to only match items where the value of the specified field is greater than or equal to `rangeStart` and less than `rangeEnd`.
|
|
428
428
|
*
|
|
429
|
-
*
|
|
429
|
+
* The method only matches values of the same [data type](https://dev.wix.com/docs/api-reference/business-solutions/cms/data-types-in-wix-data). For example, a number value stored as a number does not match the same number stored as a string.
|
|
430
430
|
*
|
|
431
|
-
* If a field contains a number as a
|
|
431
|
+
* If a field contains a number as a string, that value is compared alphabetically and not numerically. Items that do not have a value for the specified field are ranked lowest.
|
|
432
432
|
*
|
|
433
433
|
* The following types of fields can be compared:
|
|
434
434
|
* - Number: Compares numerically.
|
|
@@ -44,7 +44,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
44
44
|
*
|
|
45
45
|
* @public
|
|
46
46
|
* @documentationMaturity preview
|
|
47
|
-
* @param expressions - Expressions to add together. All expressions must resolve to numbers.
|
|
47
|
+
* @param expressions - Expressions to add together. All expressions must resolve to numbers. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
48
48
|
* @returns AddExpression object.
|
|
49
49
|
*/
|
|
50
50
|
add(...expressions: Expression[]): AddExpression;
|
|
@@ -67,7 +67,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
67
67
|
*
|
|
68
68
|
* @public
|
|
69
69
|
* @documentationMaturity preview
|
|
70
|
-
* @param expressions - Expressions to multiply. All expressions must resolve to numbers.
|
|
70
|
+
* @param expressions - Expressions to multiply. All expressions must resolve to numbers. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
71
71
|
* @returns MultiplyExpression object.
|
|
72
72
|
*/
|
|
73
73
|
multiply(...expressions: Expression[]): MultiplyExpression;
|
|
@@ -90,7 +90,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
90
90
|
*
|
|
91
91
|
* @public
|
|
92
92
|
* @documentationMaturity preview
|
|
93
|
-
* @param expressions - Expressions to calculate the total sum of. All expressions must resolve to numbers.
|
|
93
|
+
* @param expressions - Expressions to calculate the total sum of. All expressions must resolve to numbers. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
94
94
|
* @returns SumExpression object.
|
|
95
95
|
*/
|
|
96
96
|
sum(...expressions: Expression[]): SumExpression;
|
|
@@ -101,7 +101,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
101
101
|
*
|
|
102
102
|
* @public
|
|
103
103
|
* @documentationMaturity preview
|
|
104
|
-
* @param expression - Expression to find the absolute value of. Expression must resolve to a number.
|
|
104
|
+
* @param expression - Expression to find the absolute value of. Expression must resolve to a number. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
105
105
|
* @returns AbsExpression object.
|
|
106
106
|
*/
|
|
107
107
|
abs(expression: Expression): AbsExpression;
|
|
@@ -124,7 +124,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
124
124
|
*
|
|
125
125
|
* @public
|
|
126
126
|
* @documentationMaturity preview
|
|
127
|
-
* @param expression - Expression to round down to the nearest whole number. Expression must resolve to a number.
|
|
127
|
+
* @param expression - Expression to round down to the nearest whole number. Expression must resolve to a number. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
128
128
|
* @returns FloorExpression object.
|
|
129
129
|
*/
|
|
130
130
|
floor(expression: Expression): FloorExpression;
|
|
@@ -135,18 +135,18 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
135
135
|
*
|
|
136
136
|
* @public
|
|
137
137
|
* @documentationMaturity preview
|
|
138
|
-
* @param expression - Expression to round up to the nearest whole number. Expression must resolve to a number.
|
|
138
|
+
* @param expression - Expression to round up to the nearest whole number. Expression must resolve to a number. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
139
139
|
* @returns CeilExpression object.
|
|
140
140
|
*/
|
|
141
141
|
ceil(expression: Expression): CeilExpression;
|
|
142
142
|
/**
|
|
143
|
-
* Joins multiple expressions together to create a string
|
|
143
|
+
* Joins multiple expressions together to create a string.
|
|
144
144
|
*
|
|
145
145
|
* The `concat()` method configures the aggregation pipeline to join multiple expressions together to create a new string.
|
|
146
146
|
*
|
|
147
147
|
* @public
|
|
148
148
|
* @documentationMaturity preview
|
|
149
|
-
* @param expressions - Expressions to join together. All expressions must resolve to strings.
|
|
149
|
+
* @param expressions - Expressions to join together. All expressions must resolve to strings. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
150
150
|
* @returns ConcatExpression object.
|
|
151
151
|
*/
|
|
152
152
|
concat(...expressions: Expression[]): ConcatExpression;
|
|
@@ -157,7 +157,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
157
157
|
*
|
|
158
158
|
* @public
|
|
159
159
|
* @documentationMaturity preview
|
|
160
|
-
* @param expression - Expression to convert to a string.
|
|
160
|
+
* @param expression - Expression to convert to a string. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
161
161
|
* @returns StringifyExpression object.
|
|
162
162
|
*/
|
|
163
163
|
stringify(expression: Expression): StringifyExpression;
|
|
@@ -168,7 +168,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
168
168
|
*
|
|
169
169
|
* @public
|
|
170
170
|
* @documentationMaturity preview
|
|
171
|
-
* @param expression - Expression to convert to lowercase. Expression must resolve to a string.
|
|
171
|
+
* @param expression - Expression to convert to lowercase. Expression must resolve to a string. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
172
172
|
* @returns ToLowerExpression object.
|
|
173
173
|
*/
|
|
174
174
|
toLower(expression: Expression): ToLowerExpression;
|
|
@@ -179,7 +179,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
179
179
|
*
|
|
180
180
|
* @public
|
|
181
181
|
* @documentationMaturity preview
|
|
182
|
-
* @param expression - Expression to convert to uppercase. Expression must resolve to a string.
|
|
182
|
+
* @param expression - Expression to convert to uppercase. Expression must resolve to a string. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
183
183
|
* @returns ToUpperExpression object.
|
|
184
184
|
*/
|
|
185
185
|
toUpper(expression: Expression): ToUpperExpression;
|
|
@@ -190,7 +190,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
190
190
|
*
|
|
191
191
|
* @public
|
|
192
192
|
* @documentationMaturity preview
|
|
193
|
-
* @param expression - Expression to extract a substring from. Expression must resolve to a string.
|
|
193
|
+
* @param expression - Expression to extract a substring from. Expression must resolve to a string. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
194
194
|
* @param start - Starting position of the substring to extract, specified in zero-based indexing. Expression must resolve to a number.
|
|
195
195
|
* @param length - Number of characters to extract from the starting position. Expression must resolve to a number.
|
|
196
196
|
* @returns SubstringExpression object.
|
|
@@ -203,7 +203,7 @@ export interface WixDataAggregatePipelineExpressions {
|
|
|
203
203
|
*
|
|
204
204
|
* @public
|
|
205
205
|
* @documentationMaturity preview
|
|
206
|
-
* @param expression - Expression to find the total number of characters of. Expression must resolve to a string.
|
|
206
|
+
* @param expression - Expression to find the total number of characters of. Expression must resolve to a string. Learn more about using [expressions in aggregation pipelines](https://dev.wix.com/docs/sdk/backend-modules/data/items/wix-data-aggregate-pipeline-expressions/introduction).
|
|
207
207
|
* @returns LengthExpression object.
|
|
208
208
|
*/
|
|
209
209
|
length(expression: Expression): LengthExpression;
|