MCPcopy
hub / github.com/go-gorm/gorm / Or

Function Or

clause/where.go:131–136  ·  view source on GitHub ↗
(exprs ...Expression)

Source from the content-addressed store, hash-verified

129}
130
131func Or(exprs ...Expression) Expression {
132 if len(exprs) == 0 {
133 return nil
134 }
135 return OrConditions{Exprs: exprs}
136}
137
138type OrConditions struct {
139 Exprs []Expression

Callers 4

OrMethod · 0.92
TestWhereFunction · 0.92
BenchmarkSelectFunction · 0.92
BenchmarkComplexSelectFunction · 0.92

Calls

no outgoing calls

Tested by 3

TestWhereFunction · 0.74
BenchmarkSelectFunction · 0.74
BenchmarkComplexSelectFunction · 0.74