[sqlalchemy] Re: How to get SA column object from table.col, declarative attribute, or elixir entity attribute

2009-10-07 Thread Michael Bayer
Randy Syring wrote: > > Can anyone give me an idea of what I need to do here? If I can just > get a high level overview of what I need to do, I am happy to read the > documentation and source to fill in the details. column: column.type declarative attribute: MyClass.some_attribute.prop

[sqlalchemy] Re: How to get SA column object from table.col, declarative attribute, or elixir entity attribute

2009-10-07 Thread Randy Syring
Can anyone give me an idea of what I need to do here? If I can just get a high level overview of what I need to do, I am happy to read the documentation and source to fill in the details. Thanks. On Oct 1, 1:56 pm, Randy Syring wrote: > Mike, > > Thank you for the prompt reply: > > On Oct 1, 1

[sqlalchemy] Re: How to get SA column object from table.col, declarative attribute, or elixir entity attribute

2009-10-01 Thread Randy Syring
Mike, Thank you for the prompt reply: On Oct 1, 1:11 pm, "Michael Bayer" wrote: > Randy Syring wrote: > > I'm not sure of the context here.  are you generating code or just > executing SQL ?   Ok, maybe a small example. Here is a declarative object and the how the datagrid gets defined: http

[sqlalchemy] Re: How to get SA column object from table.col, declarative attribute, or elixir entity attribute

2009-10-01 Thread Michael Bayer
Randy Syring wrote: > > I am trying to write a datagrid library for sqlalchemy which will > allow easy generation of tables from SA objects. I would like the > datagrid to be able to accept a table column, declarative attribute, > or elixir entity attribute interchangeably. Since I am building t