(name: string)
| 367 | } |
| 368 | |
| 369 | function isBinaryOp(name: string): boolean { |
| 370 | const binaryOps = [ |
| 371 | `eq`, |
| 372 | `gt`, |
| 373 | `gte`, |
| 374 | `lt`, |
| 375 | `lte`, |
| 376 | `and`, |
| 377 | `or`, |
| 378 | `in`, |
| 379 | `like`, |
| 380 | `ilike`, |
| 381 | ] |
| 382 | return binaryOps.includes(name) |
| 383 | } |
| 384 | |
| 385 | /** |
| 386 | * Check if operator is a comparison operator that takes two values |