Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tortoise/tortoise-orm
/ _or
Function
_or
tortoise/query_utils.py:181–184 ·
view source on GitHub ↗
(left: Criterion, right: Criterion)
Source
from the content-addressed store, hash-verified
179
180
181
def
_or(left: Criterion, right: Criterion) -> Criterion:
182
if
left and not right:
183
return
left
184
return
left | right
185
186
187
class
QueryModifier:
Callers
1
__or__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected