Skip to content

Commit 2724ca9

Browse files
docs: updated documentation for query operators
1 parent 7627aa9 commit 2724ca9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/query.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class Query extends BaseQuery {
173173
* import contentstack from '@contentstack/delivery-sdk'
174174
*
175175
* const stack = contentstack.Stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
176-
* const query = stack.contentType("contentTypeUid").Query();
176+
* const query = stack.contentType("contentTypeUid").entry().query();
177177
* const result = containedIn('fieldUid', ['value1', 'value2']).find()
178178
*
179179
* @returns {Query}
@@ -191,7 +191,7 @@ export class Query extends BaseQuery {
191191
* import contentstack from '@contentstack/delivery-sdk'
192192
*
193193
* const stack = contentstack.Stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
194-
* const query = stack.contentType("contentTypeUid").Query();
194+
* const query = stack.contentType("contentTypeUid").entry().query();
195195
* const result = notContainedIn('fieldUid', ['value1', 'value2']).find()
196196
*
197197
* @returns {Query}
@@ -209,7 +209,7 @@ export class Query extends BaseQuery {
209209
* import contentstack from '@contentstack/delivery-sdk'
210210
*
211211
* const stack = contentstack.Stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
212-
* const query = stack.contentType("contentTypeUid").Query();
212+
* const query = stack.contentType("contentTypeUid").entry().query();
213213
* const result = notExists('fieldUid').find()
214214
*
215215
* @returns {Query}

0 commit comments

Comments
 (0)