[sqlalchemy] Re: Eager load working differently?

2006-10-23 Thread Michael Bayer
use backref=backref(somename, lazy=False, otherargs). On Oct 23, 2006, at 8:19 AM, Maciej Szumocki wrote: After some more testing (the use of loggers in sqlalchemy helped alot :)) i have narrowed the issue to backreference creation - they seem to be always created lazy, even if relation is

[sqlalchemy] Re: Problem with mapper relationship when lazy=False

2006-10-23 Thread Steve Zatz
youre really looking to have an association object pattern here. I thought you might recommend that. My problem last time I tried an association object was that in the following situation: item table keyword table itemkeyword table (and association object) I couldn't get the keywords to eager

[sqlalchemy] Re: echo and logging Turbogears and SQLAlchemy

2006-10-23 Thread Robin Munn
On 10/23/06, Karl Guertin [EMAIL PROTECTED] wrote: On 10/22/06, Jorge Vargas [EMAIL PROTECTED] wrote: is this statement correct? # set to 1 to make SQLAlchemy echo SQL commands on the console sqlalchemy.echo = 0 I haven't looked at the code, but from experience I know that setting

[sqlalchemy] Re: Problem with mapper relationship when lazy=False

2006-10-23 Thread Steve Zatz
the eager load should be able to go through the association object down to the endpoint Keyword objects Thanks -- that does work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this

[sqlalchemy] Re: SQLAlchemy 0.3.0 Released

2006-10-23 Thread Michael Bayer
im playing around with the docs to put the one page idea back there, and im noticing the page is so enormous my browser cant navigate the page anyway (also with the 0.2 docs)...is that what you really want ? might be nicer if someone wants to work on Markdown-PDF, possibly by way of LaTeX or