MCPcopy Create free account
hub / github.com/upper/db / Empty

Method Empty

intersection.go:46–48  ·  view source on GitHub ↗

Empty returns false if the expressions has zero conditions.

()

Source from the content-addressed store, hash-verified

44
45// Empty returns false if the expressions has zero conditions.
46func (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()`.

Callers

nothing calls this directly

Calls 1

EmptyMethod · 0.65

Tested by

no test coverage detected