Add a criteria function to a :class:`.BakedQuery` cloned from this one. This is equivalent to using the ``+`` operator to produce a new :class:`.BakedQuery` with modifications.
(self, fn, *args)
| 108 | return self |
| 109 | |
| 110 | def with_criteria(self, fn, *args): |
| 111 | """Add a criteria function to a :class:`.BakedQuery` cloned from this |
| 112 | one. |
| 113 | |
| 114 | This is equivalent to using the ``+`` operator to |
| 115 | produce a new :class:`.BakedQuery` with modifications. |
| 116 | |
| 117 | """ |
| 118 | return self._clone().add_criteria(fn, *args) |
| 119 | |
| 120 | def for_session(self, session): |
| 121 | """Return a :class:`_baked.Result` object for this |