MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / and_

Method and_

examples/dogpile_caching/caching_query.py:205–214  ·  view source on GitHub ↗

Chain another RelationshipCache option to this one. While many RelationshipCache objects can be specified on a single Query separately, chaining them together allows for a more efficient lookup during load.

(self, option)

Source from the content-addressed store, hash-verified

203 return relationship_option
204
205 def and_(self, option):
206 """Chain another RelationshipCache option to this one.
207
208 While many RelationshipCache objects can be specified on a single
209 Query separately, chaining them together allows for a more efficient
210 lookup during load.
211
212 """
213 self._relationship_options.update(option._relationship_options)
214 return self

Callers 1

model.pyFile · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected