MCPcopy Create free account
hub / github.com/TanStack/db / divide

Function divide

packages/db/src/query/builder/functions.ts:631–639  ·  view source on GitHub ↗
(
  left: T1,
  right: T2,
)

Source from the content-addressed store, hash-verified

629}
630
631export function divide<T1 extends ExpressionLike, T2 extends ExpressionLike>(
632 left: T1,
633 right: T2,
634): DivideReturnType {
635 return new Func(`divide`, [
636 toExpression(left),
637 toExpression(right),
638 ]) as DivideReturnType
639}
640
641// Aggregates
642

Callers 1

functions.test.tsFile · 0.85

Calls 1

toExpressionFunction · 0.85

Tested by

no test coverage detected