MCPcopy Index your code
hub / github.com/TanStack/db / inArray

Function inArray

packages/db/src/query/builder/functions.ts:259–264  ·  view source on GitHub ↗
(
  value: ExpressionLike,
  array: ExpressionLike,
)

Source from the content-addressed store, hash-verified

257}
258
259export function inArray(
260 value: ExpressionLike,
261 array: ExpressionLike,
262): BasicExpression<boolean> {
263 return new Func(`in`, [toExpression(value), toExpression(array)])
264}
265
266export function like(
267 left: StringLike,

Callers 10

query.test.tsFile · 0.90
indexes.test.tsFile · 0.90
compileQueryFunction · 0.85
processJoinFunction · 0.85
createJoinTestsFunction · 0.85
createWhereTestsFunction · 0.85
functions.test.tsFile · 0.85
where.test.tsFile · 0.85

Calls 1

toExpressionFunction · 0.85

Tested by 2

createJoinTestsFunction · 0.68
createWhereTestsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…