[sqlalchemy] Re: assign_mapper query methods

2007-06-01 Thread David Shoemaker
usage patterns well, at least (which is to define everything as lazy-load relations and use .load() to eager load them when it makes sense). shoe On 6/1/07, Christoph Haas <[EMAIL PROTECTED]> wrote: > > > On Fri, Jun 01, 2007 at 10:50:33AM -0700, David Shoemaker

[sqlalchemy] Re: assign_mapper query methods

2007-06-01 Thread David Shoemaker
Both session.query(User).select() and User.query().select() seem more verbose than they need to be for my taste. However, I think most people (myself included) define a base class for all their mapped classes. I've always used this base class to provide the interface I want, no matter what

[sqlalchemy] Re: python ORM

2006-12-11 Thread David Shoemaker
Or get a day job at a company that uses nothing but sqlalchemy, like mine :). Python coder resumes always accepted, especially from Mike. -shoe On 12/11/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote: > > > On 12/11/06, Michael Bayer <[EMAIL PROTECTED]> wrote: > > Hibernate is pretty SQL oriented