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

Function areCompareOptionsEqual

packages/db/src/query/predicate-utils.ts:1182–1188  ·  view source on GitHub ↗
(
  a: { direction?: `asc` | `desc`; [key: string]: any },
  b: { direction?: `asc` | `desc`; [key: string]: any },
)

Source from the content-addressed store, hash-verified

1180}
1181
1182function areCompareOptionsEqual(
1183 a: { direction?: `asc` | `desc`; [key: string]: any },
1184 b: { direction?: `asc` | `desc`; [key: string]: any },
1185): boolean {
1186 // For now, just compare direction - could be enhanced for other options
1187 return a.direction === b.direction
1188}
1189
1190interface ComparisonField {
1191 ref: PropRef

Callers 1

isOrderBySubsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected