On Jan 14, 2008, at 10:44 AM, Alexandre Conrad wrote:

>
> model.Media.query.join(["catalog",
> model
> .CatalogChannel
> .channel
> ]).filter
> (model.CatalogChannel.c.id_channel==c.playlist.id_channel).all()
>

like, are you sure you dont want to just say:

model
.Media
.query
.join
(["catalog
"]).filter
(model.CatalogChannel.c.id_channel==c.playlist.id_channel).all()

?  that is if you want the Media which contains a CatalogChannel with  
a certain id_channel.   otherwise im still having trouble wrapping my  
head around what youre trying to do there.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to