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

Method makeOrderByClause

packages/db/src/query/builder/index.ts:657–662  ·  view source on GitHub ↗
(res: any)

Source from the content-addressed store, hash-verified

655 }
656
657 const makeOrderByClause = (res: any) => {
658 return {
659 expression: toExpression(res),
660 compareOptions: opts,
661 }
662 }
663
664 // Create the new OrderBy structure with expression and direction
665 const orderByClauses = Array.isArray(result)

Callers

nothing calls this directly

Calls 1

toExpressionFunction · 0.85

Tested by

no test coverage detected