[sqlalchemy] Re: How to tell if eager loading is working?

2014-08-06 Thread Victor Reichert
Thank you for your response Jonathan! I'm new to sqlalchemy, what am I looking for with the log line? The time that passes between about to touch bars and touched bars or am I looking to see if SQL is generated? ~Victor -- You received this message because you are subscribed to the Google

[sqlalchemy] Re: How to tell if eager loading is working?

2014-08-06 Thread Jonathan Vanasco
Oh sorry. If your joinedload is working , you'll see: SELECT data SELECT TRUE; -- just joinedloaded SELECT TRUE; -- about to touch `bars SELECT TRUE; -- touched `bars if you are not eager-loading, then you'll see something like: SELECT data SELECT TRUE; -- just

[sqlalchemy] Re: How to tell if eager loading is working?

2014-08-06 Thread Victor Reichert
Thank you again! From the sql I'm getting (referenced as a pastie in my original post) t looks like the records are bing loaded that I intended to be eager loaded. D'oh! ~Victor -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To unsubscribe