BinaryExpression represents binary operations between two expressions. BinaryExpression supports all standard SQL binary operators plus PostgreSQL-specific operators including JSON/JSONB operators added in v1.6.0. Fields: - Left: Left-hand side expression - Operator: Binary operator (=, <, >, +, -
| 977 | // - ?& (QuestionAnd): All of the keys exist |
| 978 | // - #- (HashMinus): Delete key from JSON |
| 979 | type BinaryExpression struct { |
| 980 | Left Expression |
| 981 | Operator string |
| 982 | Right Expression |
| 983 | Not bool // For NOT (expr) |
| 984 | CustomOp *CustomBinaryOperator // For PostgreSQL custom operators |
| 985 | Pos models.Location // Source position of the operator (1-based line and column) |
| 986 | } |
| 987 | |
| 988 | func (b *BinaryExpression) expressionNode() {} |
| 989 |
nothing calls this directly
no outgoing calls
no test coverage detected