Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
131
func
Or(exprs ...Expression) Expression {
132
if
len(exprs) == 0 {
133
return
nil
134
}
135
return
OrConditions{Exprs: exprs}
136
}
137
138
type
OrConditions
struct
{
139
Exprs []Expression
Callers
4
Or
Method · 0.92
TestWhere
Function · 0.92
BenchmarkSelect
Function · 0.92
BenchmarkComplexSelect
Function · 0.92
Calls
no outgoing calls
Tested by
3
TestWhere
Function · 0.74
BenchmarkSelect
Function · 0.74
BenchmarkComplexSelect
Function · 0.74