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

Function length

packages/db/src/query/builder/functions.ts:295–299  ·  view source on GitHub ↗
(
  arg: T,
)

Source from the content-addressed store, hash-verified

293}
294
295export function length<T extends ExpressionLike>(
296 arg: T,
297): NumericFunctionReturnType<T> {
298 return new Func(`length`, [toExpression(arg)]) as NumericFunctionReturnType<T>
299}
300
301export function concat<T extends StringifiableScalar>(
302 arg: ToArrayWrapper<T>,

Calls 1

toExpressionFunction · 0.85

Tested by 1

createWhereTestsFunction · 0.68