Re: [Sqlalchemy-tickets] [sqlalchemy] #2824: Add ability to query column sets as one entity
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-09-16 17:40:56
|
#2824: Add ability to query column sets as one entity
-----------------------------------+------------------------------------
Reporter: vmagamedov | Owner: zzzeek
Type: enhancement | Status: new
Priority: medium | Milestone: 0.9.xx
Component: orm | Severity: no triage selected yet
Resolution: | Keywords:
Progress State: not decided upon |
-----------------------------------+------------------------------------
Comment (by vmagamedov):
> you're overriding twoHHH four methods, that's not much "quirk".
I'm overriding non-public method in the {{{Query}}} class and reading non-
public attribute of the {{{NamedTuple}}} class.
It would be great if I could provide custom {{{_QueryEntity}}} subclass
with simple API to somehow wrap columns and process them as one thing.
Currently {{{_MapperEntity}}} and {{{_ColumnEntity}}} looks very complex
for me, so I even didn't tried to write custom wrapper.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2824#comment:5>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|