This patch implements __contains__ in SelectResults, to
allow expressions like "if fred in
Person.select(some_query):" to work, for reasonable
values of Fred. The patch includes some tests.
Logged In: YES
What is the semantics? Fred is in .select() if fred.id is in
the .select()ed ids?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.