(in ...adapter.LogicalExpr)
| 116 | } |
| 117 | |
| 118 | func defaultJoin(in ...adapter.LogicalExpr) []adapter.LogicalExpr { |
| 119 | for i := range in { |
| 120 | cond, ok := in[i].(Cond) |
| 121 | if ok && !cond.Empty() { |
| 122 | in[i] = And(cond) |
| 123 | } |
| 124 | } |
| 125 | return in |
| 126 | } |
| 127 | |
| 128 | var ( |
| 129 | _ = LogicalExpr(Cond{}) |