On 10 сен, 17:15, "King Simon-NFHD78" <[email protected]> wrote:
> Hi Andrey,
>
> See the section in the docs 'Attribute Names for Mapped Columns':
>
> http://www.sqlalchemy.org/docs/orm/mapper_config.html#attribute-names-fo
> r-mapped-columns
>
> Hope that helps,
>
> Simon
Well, this leads to the only way to map in my case named
'Declarative'. Because it would fail on
mapper(Class, table, properties = { '_from': table.c.from })
Could non-declarative way for mapping python's reserved keywords as
column names be scheduled as a bug or enhancement request ?
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy?hl=en.