Hi Or filter(Class.id == id)
Cheers, Eric 2009/1/29, Paweł Stradomski <[email protected]>: > > W liście John Brennan z dnia czwartek, 29 stycznia 2009: > >> but this does NOT work (it returns None): >> meta.Session.query(self).filter(self.stuff==True).filter(id).first() > Shouldn't this be .filter_by(id=id).first()? > > -- > Paweł Stradomski > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
