In my test suite I'm saving an object then testing to make sure it
saved with all the right properties.

This returns the object correctly:
meta.Session.query(self).filter(self.stuff==True).get(id)

but this does NOT work (it returns None):
meta.Session.query(self).filter(self.stuff==True).filter(id).first()


does anyone know why?  i am doing a commit (and verified that its in
the db).

(i'm using SA 0.5.2)


thanks!
j

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to