* Checks if the operator is a comparison operator (excluding eq) * These operators don't work on booleans in PostgreSQL without casting
(name: string)
| 397 | * These operators don't work on booleans in PostgreSQL without casting |
| 398 | */ |
| 399 | function isBooleanComparisonOp(name: string): boolean { |
| 400 | return [`gt`, `gte`, `lt`, `lte`].includes(name) |
| 401 | } |
| 402 | |
| 403 | function getOpName(name: string): string { |
| 404 | const opNames = { |