Re: [sqlalchemy] On creating new SchemaItems

2011-01-21 Thread Michael Bayer
On Jan 21, 2011, at 3:15 PM, A.M. wrote: >> > > I guess I am curious as to why there should be a "built-in" way to compile > SchemaItems and then a "user" way to do the same thing. Is there a plan to > unify these methods? I've considered it but haven't drawn a picture of what that would rea

Re: [sqlalchemy] On creating new SchemaItems

2011-01-21 Thread A.M.
On Jan 21, 2011, at 1:36 PM, Michael Bayer wrote: > > On Jan 21, 2011, at 12:56 PM, A.M. wrote: > >> Hello, >> >> I would like SQLAlchemy to generate views much in the same way it can >> generate tables- perhaps like this: >> >> View('bob',select([...])) >> >> Is the SQLAlchemy code modular

Re: [sqlalchemy] On creating new SchemaItems

2011-01-21 Thread Michael Bayer
On Jan 21, 2011, at 12:56 PM, A.M. wrote: > Hello, > > I would like SQLAlchemy to generate views much in the same way it can > generate tables- perhaps like this: > > View('bob',select([...])) > > Is the SQLAlchemy code modular enough to support a user-defined SchemaItem or > does that requi