The Devil's Programmer wrote:
> So what I am trying to figure out, is if there is a way to have the
> query return None in place of the missing UserVote when the user is
> not logged in?
>
> I'm hoping there might be some kind of .join_placeholder(UserVote)
> method that I have somehow overlooked, or something which can achieve
> the same result.


sure just use literal(None)

session.query(A, B, C, D, literal(None), ...)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to