postgresql.
1:0 comparison doesn't work because comparisons are not binary -
they're ternary
ie:
IS NOT TRUE returns false and null
IS NOT FA:SE returns true and null
IS NOT NULL returns true and false
i ended up realizing i can just do
return
Session.execute( sqlalchemy.select( [
(self.__class__).c.email_address__invitee.label('email') ] ,
"useraccount_id__accepted IS NOT NULL" ) )
cristoph-
i will try that tomorrow morning! thank you for the suggestion!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---