class DeprecatedSelectGenerations(object):
Known subclasses: sqlalchemy.sql.expression.Select
_sql.Select
, these
are all deprecated methods as they modify the _sql.Select
object in -place.Method | append_column |
Append the given column expression to the columns clause of this select() construct. |
Method | append_correlation |
Append the given correlation expression to this select() construct. |
Method | append_from |
Append the given _expression.FromClause expression to this select() construct's FROM clause. |
Method | append_having |
Append the given expression to this select() construct's HAVING criterion. |
Method | append_prefix |
Append the given columns clause prefix expression to this select() construct. |
Method | append_whereclause |
Append the given expression to this select() construct's WHERE criterion. |
Append the given column expression to the columns clause of this select() construct.
E.g.:
my_select.append_column(some_table.c.new_column)
This is an in-place mutation method; the
_expression.Select.add_columns
method is preferred,
as it provides standard
:term:`method chaining`.
Append the given correlation expression to this select() construct.
This is an in-place mutation method; the
_expression.Select.correlate
method is preferred,
as it provides
standard :term:`method chaining`.
Append the given _expression.FromClause
expression
to this select() construct's FROM clause.
This is an in-place mutation method; the
_expression.Select.select_from
method is preferred,
as it provides
standard :term:`method chaining`.
Append the given expression to this select() construct's HAVING criterion.
The expression will be joined to existing HAVING criterion via AND.
This is an in-place mutation method; the
_expression.Select.having
method is preferred,
as it provides standard
:term:`method chaining`.
Append the given columns clause prefix expression to this select() construct.
This is an in-place mutation method; the
_expression.Select.prefix_with
method is preferred,
as it provides
standard :term:`method chaining`.
Append the given expression to this select() construct's WHERE criterion.
The expression will be joined to existing WHERE criterion via AND.
This is an in-place mutation method; the
_expression.Select.where
method is preferred,
as it provides standard
:term:`method chaining`.