MCPcopy
hub / github.com/dropbox/godropbox / Or

Function Or

database/sqlbuilder/expression.go:385–390  ·  view source on GitHub ↗

Returns a representation of "c[0] OR ... OR c[n-1]" for c in clauses

(expressions ...BoolExpression)

Source from the content-addressed store, hash-verified

383
384// Returns a representation of "c[0] OR ... OR c[n-1]" for c in clauses
385func Or(expressions ...BoolExpression) BoolExpression {
386 return &conjunctExpression{
387 expressions: expressions,
388 conjunction: []byte(" OR "),
389 }
390}
391
392func Like(lhs, rhs Expression) BoolExpression {
393 return newBoolExpression(lhs, rhs, []byte(" LIKE "))

Callers 1

TestOrExprMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestOrExprMethod · 0.68