@@ -16,7 +16,7 @@ export class BaseQuery extends Pagination {
16
16
* @example
17
17
* import contentstack from '@contentstack/delivery-sdk'
18
18
*
19
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
19
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
20
20
* const query = stack.contentType("contentTypeUid").entry().query();
21
21
* const result = await query.includeCount().find()
22
22
* // OR
@@ -37,7 +37,7 @@ export class BaseQuery extends Pagination {
37
37
* @example
38
38
* import contentstack from '@contentstack/delivery-sdk'
39
39
*
40
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
40
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
41
41
* const query = stack.contentType("contentTypeUid").entry().query();
42
42
* const result = await query.orderByAscending("field_uid").find()
43
43
* // OR
@@ -58,7 +58,7 @@ export class BaseQuery extends Pagination {
58
58
* @example
59
59
* import contentstack from '@contentstack/delivery-sdk'
60
60
*
61
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
61
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
62
62
* const query = stack.contentType("contentTypeUid").entry().query();
63
63
* const result = await query.orderByDescending("field_uid").find()
64
64
* // OR
@@ -79,7 +79,7 @@ export class BaseQuery extends Pagination {
79
79
* @example
80
80
* import contentstack from '@contentstack/delivery-sdk'
81
81
*
82
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
82
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
83
83
* const query = stack.contentType("contentTypeUid").entry().query();
84
84
* const result = await query.limit("limit_value").find()
85
85
* // OR
@@ -100,7 +100,7 @@ export class BaseQuery extends Pagination {
100
100
* @example
101
101
* import contentstack from '@contentstack/delivery-sdk'
102
102
*
103
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
103
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
104
104
* const query = stack.contentType("contentTypeUid").entry().query();
105
105
* const result = await query.skip("skip_value").find()
106
106
* // OR
@@ -123,7 +123,7 @@ export class BaseQuery extends Pagination {
123
123
* @example
124
124
* import contentstack from '@contentstack/delivery-sdk'
125
125
*
126
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
126
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
127
127
* const query = stack.contentType("contentTypeUid").entry().query();
128
128
* const result = await query.param("key", "value").find()
129
129
* // OR
@@ -144,7 +144,7 @@ export class BaseQuery extends Pagination {
144
144
* @example
145
145
* import contentstack from '@contentstack/delivery-sdk'
146
146
*
147
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
147
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
148
148
* const query = stack.contentType("contentTypeUid").entry().query();
149
149
* const result = await query.addParams({"key": "value"}).find()
150
150
* // OR
@@ -165,7 +165,7 @@ export class BaseQuery extends Pagination {
165
165
* @example
166
166
* import contentstack from '@contentstack/delivery-sdk'
167
167
*
168
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
168
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
169
169
* const query = stack.contentType("contentTypeUid").entry().query();
170
170
* const result = await query.removeParam("query_param_key").find()
171
171
* // OR
@@ -187,17 +187,17 @@ export class BaseQuery extends Pagination {
187
187
* @example
188
188
* import contentstack from '@contentstack/delivery-sdk'
189
189
*
190
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
190
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
191
191
* const result = await stack.asset().find();
192
192
* @example
193
193
* import contentstack from '@contentstack/delivery-sdk'
194
194
*
195
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
195
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
196
196
* const result = await stack.contentType("contentType1Uid").entry().query().find();
197
197
* @example
198
198
* import contentstack from '@contentstack/delivery-sdk'
199
199
*
200
- * const stack = contentstack.Stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
200
+ * const stack = contentstack.stack ({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
201
201
* const result = await stack.asset(asset_uid).fetch();
202
202
*/
203
203
0 commit comments