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

Function defaultJoin

cond.go:118–126  ·  view source on GitHub ↗
(in ...adapter.LogicalExpr)

Source from the content-addressed store, hash-verified

116}
117
118func 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
128var (
129 _ = LogicalExpr(Cond{})

Callers 1

OrFunction · 0.85

Calls 2

AndFunction · 0.70
EmptyMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…