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

Function isComparisonOp

packages/powersync-db-collection/src/sqlite-compiler.ts:346–348  ·  view source on GitHub ↗

* Check if operator is a comparison operator

(name: string)

Source from the content-addressed store, hash-verified

344 * Check if operator is a comparison operator
345 */
346function isComparisonOp(name: string): boolean {
347 return [`eq`, `gt`, `gte`, `lt`, `lte`, `like`, `ilike`].includes(name)
348}
349
350/**
351 * Get the SQL symbol for a comparison operator

Callers 1

compileFunctionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected