Re: [Sqlalchemy-tickets] [sqlalchemy] #2859: Mapper.columns is keyed based on `key` attribute not c
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-11-08 01:48:17
|
#2859: Mapper.columns is keyed based on `key` attribute not column name
-----------------------------------+----------------------------------
Reporter: tisdall | Owner: zzzeek
Type: defect | Status: closed
Priority: medium | Milestone:
Component: documentation | Severity: minor - half an hour
Resolution: worksforme | Keywords:
Progress State: completed/closed |
-----------------------------------+----------------------------------
Changes (by zzzeek):
* status: new => closed
* resolution: => worksforme
* status_field: awaiting triage => completed/closed
Comment:
the result you're getting is correct, the mapping links those columns to
the attribute name specified in declarative first and foremost over that
of .name or .key of the Column itself.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2859#comment:2>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|