On 7/30/07, Marco Mariani <[EMAIL PROTECTED]> wrote:
>
> Gaetan de Menten ha scritto:
>
> > What's worse (from an upgrade point of view) is that many query
> > methods are also deprecated (though still present in 0.4), namely
> > get_by, select, select_by, etc... Most of these should be replaced by
> > a filter_by() call. For example, MyClass.get_by(name="test") would
> > become MyClass.query.filter_by(name="test").first()
>
> You mean MyClass.query().filter_by...

No, I meant what I wrote. Class.query is becoming an attribute, not a
method anymore.

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

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

Reply via email to