Add a criteria function to this :class:`.BakedQuery`. This is equivalent to using the ``+=`` operator to modify a :class:`.BakedQuery` in-place.
(self, fn, *args)
| 97 | return self.with_criteria(other) |
| 98 | |
| 99 | def add_criteria(self, fn, *args): |
| 100 | """Add a criteria function to this :class:`.BakedQuery`. |
| 101 | |
| 102 | This is equivalent to using the ``+=`` operator to |
| 103 | modify a :class:`.BakedQuery` in-place. |
| 104 | |
| 105 | """ |
| 106 | self._update_cache_key(fn, args) |
| 107 | self.steps.append(fn) |
| 108 | return self |
| 109 | |
| 110 | def with_criteria(self, fn, *args): |
| 111 | """Add a criteria function to a :class:`.BakedQuery` cloned from this |
no test coverage detected