Closed Jaymon closed 3 years ago
so you can do something like:
q = Orm.query.is_foo(1).is_bar(2) q.ifilter = lambda o: o.che > 0 for o in q.get(): # o.che will be > 0
So the ifilter set on Query will be passed to the Iterator.ifilter property.
ifilter
Query
Iterator.ifilter
https://github.com/Jaymon/prom/issues/71
so you can do something like:
So the
ifilter
set onQuery
will be passed to theIterator.ifilter
property.