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

Method nin

packages/filter/src/query.ts:421–425  ·  view source on GitHub ↗

* Add a `nin` 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

419 * @param val - An array of property values
420 */
421 nin<K extends KeyOf<MT>>(key: K, val: MT[K][]): this {
422 const w: Where<MT> = {};
423 w[key] = {nin: val};
424 return this.add(w);
425 }
426
427 /**
428 * Add a `between` condition

Callers 2

query.unit.tsFile · 0.80

Calls 1

addMethod · 0.95

Tested by

no test coverage detected