Format renders an expression into compact SQL.
(expr Expr)
| 112 | |
| 113 | // Format renders an expression into compact SQL. |
| 114 | func Format(expr Expr) string { |
| 115 | formatter := NewFormatter() |
| 116 | formatter.WriteExpr(expr) |
| 117 | return formatter.String() |
| 118 | } |
| 119 | |
| 120 | func (p *BinaryOperation) isLogicalOp() bool { |
| 121 | switch p.Operation { |
searching dependent graphs…