MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / _and

Function _and

tortoise/query_utils.py:175–178  ·  view source on GitHub ↗
(left: Criterion, right: Criterion)

Source from the content-addressed store, hash-verified

173
174
175def _and(left: Criterion, right: Criterion) -> Criterion:
176 if left and not right:
177 return left
178 return left & right
179
180
181def _or(left: Criterion, right: Criterion) -> Criterion:

Callers 2

__and__Method · 0.85
_and_criterionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…