Skip to content

Commit

Permalink
docs: updated documentation for query operators
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithad0703 committed Mar 7, 2024
1 parent 03231d2 commit 0d4e502
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class Query extends BaseQuery {
* import contentstack from '@contentstack/delivery-sdk'
*
* const stack = contentstack.Stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
* const query = stack.contentType("contentTypeUid").Query();
* const query = stack.contentType("contentTypeUid").entry().query();
* const result = containedIn('fieldUid', ['value1', 'value2']).find()
*
* @returns {Query}
Expand All @@ -191,7 +191,7 @@ export class Query extends BaseQuery {
* import contentstack from '@contentstack/delivery-sdk'
*
* const stack = contentstack.Stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
* const query = stack.contentType("contentTypeUid").Query();
* const query = stack.contentType("contentTypeUid").entry().query();
* const result = notContainedIn('fieldUid', ['value1', 'value2']).find()
*
* @returns {Query}
Expand All @@ -209,7 +209,7 @@ export class Query extends BaseQuery {
* import contentstack from '@contentstack/delivery-sdk'
*
* const stack = contentstack.Stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
* const query = stack.contentType("contentTypeUid").Query();
* const query = stack.contentType("contentTypeUid").entry().query();
* const result = notExists('fieldUid').find()
*
* @returns {Query}
Expand Down

0 comments on commit 0d4e502

Please sign in to comment.