4 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: Different results wi...
FromSent OnAttachments
MattQc23 Jan 2008 12:28 
Michael Bayer23 Jan 2008 13:30 
MattQc24 Jan 2008 08:35 
Michael Bayer24 Jan 2008 08:47 
Subject:[sqlalchemy] Re: Different results with select and object using outerjoin
From:Michael Bayer (mike@zzzcomputing.com)
Date:01/24/2008 08:47:29 AM
List:com.googlegroups.sqlalchemy

On Jan 24, 2008, at 11:36 AM, MattQc wrote:

Thank you for the answer!

Does it have any performance differences between the 3 manners? Which one could be the fastest if I have a lot of nested joins to do with other tables?

straight SQL constructs without using the ORM are always much faster, but the speed increases are primarily on the result fetching side and not the execution side. The ORM in some cases may generate a query thats not quite as efficient as what you'd generate by hand but is usually more or less the same.