On 8/20/07, Gaetan de Menten <[EMAIL PROTECTED]> wrote:

> > > has_field('foo', through='child', field='foo')
> > >
> > > And we could make the field kwarg optional (defaults to the name of
> > > the "local" field)
> >
> > I don't like the 'field' kwarg name, but I am not really happy with the
> > 'via' kwarg name either.  Lets keep trying to think of something better.
>
> What don't you like about the "field" kwarg? To end up with a
> scalar/has_field value, your ending point *must* be some kind of
> scalar thing. It can come from either a column or an aggregate
> property. Would you prefer "column"? or "property"? or ?

Ok, a little later than expected, I've comitted this to the trunk
along with some tests and a bit of doc. I've opted for "attribute" for
the second argument. What do you think?

-- 
Gaƫtan de Menten
http://openhex.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to