MCPcopy Create free account
hub / github.com/loopbackio/loopback-next / inq

Method inq

packages/filter/src/query.ts:410–414  ·  view source on GitHub ↗

* Add a `inq` condition * @param key - Property name * @param val - An array of property values

(key: K, val: MT[K][])

Source from the content-addressed store, hash-verified

408 * @param val - An array of property values
409 */
410 inq<K extends KeyOf<MT>>(key: K, val: MT[K][]): this {
411 const w: Where<MT> = {};
412 w[key] = {inq: val};
413 return this.add(w);
414 }
415
416 /**
417 * Add a `nin` condition

Callers 2

query.unit.tsFile · 0.80

Calls 1

addMethod · 0.95

Tested by

no test coverage detected