Empty returns false if the expressions has zero conditions.
()
| 44 | |
| 45 | // Empty returns false if the expressions has zero conditions. |
| 46 | func (a *AndExpr) Empty() bool { |
| 47 | return a.LogicalExprGroup.Empty() |
| 48 | } |
| 49 | |
| 50 | // And joins conditions under logical conjunction. Conditions can be |
| 51 | // represented by `db.Cond{}`, `db.Or()` or `db.And()`. |