summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/expression.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-10-23 13:07:56 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-10-23 13:07:56 -0400
commit92fb9f91af17ad07ff8308ef574f044f5bcbf9f7 (patch)
treed3bf1912b7cf545853c8b314c395be49876bee29 /lib/sqlalchemy/sql/expression.py
parentc5579f77e26e1449f82888c4a95466a77642130d (diff)
downloadsqlalchemy-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