(builder Builder)
| 119 | } |
| 120 | |
| 121 | func (and AndConditions) Build(builder Builder) { |
| 122 | if len(and.Exprs) > 1 { |
| 123 | builder.WriteByte('(') |
| 124 | buildExprs(and.Exprs, builder, AndWithSpace) |
| 125 | builder.WriteByte(')') |
| 126 | } else { |
| 127 | buildExprs(and.Exprs, builder, AndWithSpace) |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | func Or(exprs ...Expression) Expression { |
| 132 | if len(exprs) == 0 { |
nothing calls this directly
no test coverage detected