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

Function min

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

Source from the content-addressed store, hash-verified

653}
654
655export function min<T extends ExpressionLike>(arg: T): AggregateReturnType<T> {
656 return new Aggregate(`min`, [toExpression(arg)]) as AggregateReturnType<T>
657}
658
659export function max<T extends ExpressionLike>(arg: T): AggregateReturnType<T> {
660 return new Aggregate(`max`, [toExpression(arg)]) as AggregateReturnType<T>

Callers 5

getAggregateFunctionFunction · 0.50
group-by.test-d.tsFile · 0.50
createGroupByTestsFunction · 0.50
functions.test.tsFile · 0.50

Calls 1

toExpressionFunction · 0.85

Tested by 1

createGroupByTestsFunction · 0.40