File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,19 @@ export class Query extends BaseQuery {
264264 this . _parameters . $and = paramsList ;
265265 return this ;
266266 }
267+
268+ /**
269+ * @method equalTo
270+ * @memberof Query
271+ * @description Returns the raw (JSON) query based on the filters applied on Query object.
272+ * @example
273+ * import contentstack from '@contentstack/delivery-sdk'
274+ *
275+ * const stack = contentstack.Stack({ apiKey: "apiKey", deliveryToken: "deliveryToken", environment: "environment" });
276+ * const query = await contentType.Entry().query().equalTo('fieldUid', 'value').find();
277+ *
278+ * @returns {Query }
279+ */
267280 equalTo ( key : string , value : string | number | boolean ) : Query {
268281 this . _parameters [ key ] = value ;
269282 return this ;
You can’t perform that action at this time.
0 commit comments