diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-10-23 13:07:56 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-10-23 13:07:56 -0400 |
commit | 92fb9f91af17ad07ff8308ef574f044f5bcbf9f7 (patch) | |
tree | d3bf1912b7cf545853c8b314c395be49876bee29 /lib/sqlalchemy/sql/expression.py | |
parent | c5579f77e26e1449f82888c4a95466a77642130d (diff) | |
download | sqlalchemy-92fb9f91af17ad07ff8308ef574f044f5bcbf9f7.tar.gz |
- New Query methods: query.label(name), query.as_scalar(),
return the query's statement as a scalar subquery
with /without label [ticket:1920];
query.with_entities(*ent), replaces the SELECT list of
the query with new entities.
Roughly equivalent to a generative form of query.values()
which accepts mapped entities as well as column
expressions.
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
0 files changed, 0 insertions, 0 deletions