can u give some exampe, how this is supposed to be used (finaly)?
as relation and/or directly as Query()

On Tuesday 10 April 2007 17:22:45 Gaetan de Menten wrote:
> On 3/31/07, Michael Bayer <[EMAIL PROTECTED]> wrote:
> > On Mar 31, 2007, at 1:17 PM, Gaetan de Menten wrote:
> > > That's approximately what I did in my patch with the new
> > > "params" keyword argument, except I only implemented the "set"
> > > operation, not the add operation on the params. Anyway, what
> > > can/should I do to get this included? Do you have any
> > > advice/pointers on how to do the same for eager attributes? (or
> > > will you implement it yourself?)
> >
> > im totally into a series of engine/execution patches/refactorings
> > right now, so for properties that have "lazy=False", there is
> > still a LazyLoader strategy there...you should just call
> > property._get_strategy(LazyLoader) in all cases to get at it.
>
> In case anybody is interested, here is my patch slightly modified
> with what you suggest above. Now it works wonders for both lazy and
> eager relationships. There is something ugly about it though:
> imports. I have to import the LazyLoader class from the
> orm.strategies module, but that module imports query, so what I did
> is import the LazyLoader class inside the from_attr method to avoid
> a "circular import" problem.
>
> By the way, should I create a ticket for this?



--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to