#20 Add __contains__ to SelectResults

closed-invalid
nobody
None
5
2005-09-13
2005-07-12
No

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.

Discussion

  • Oleg Broytman

    Oleg Broytman - 2005-07-20

    Logged In: YES
    user_id=4799

    What is the semantics? Fred is in .select() if fred.id is in
    the .select()ed ids?

     
  • Oleg Broytman

    Oleg Broytman - 2005-09-13
    • status: open --> closed-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks