MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __add__

Method __add__

lib/sqlalchemy/ext/baked.py:93–97  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

91 return self
92
93 def __add__(self, other):
94 if isinstance(other, tuple):
95 return self.with_criteria(*other)
96 else:
97 return self.with_criteria(other)
98
99 def add_criteria(self, fn, *args):
100 """Add a criteria function to this :class:`.BakedQuery`.

Callers

nothing calls this directly

Calls 1

with_criteriaMethod · 0.95

Tested by

no test coverage detected