class documentation
class DMLWhereBase: (source)
Known subclasses: sqlalchemy.sql.dml.Delete
, sqlalchemy.sql.dml.Update
Undocumented
Method | filter |
A synonym for the :meth:`_dml.DMLWhereBase.where` method. |
Method | filter |
apply the given filtering criterion as a WHERE clause to this select. |
Method | where |
Return a new construct with the given expression(s) added to its WHERE clause, joined to the existing clause via AND, if any. |
Class Variable | table |
Undocumented |
Property | whereclause |
Return the completed WHERE clause for this :class:`.DMLWhereBase` statement. |
Method | _filter |
Undocumented |
Class Variable | _where |
Undocumented |
Return a new construct with the given expression(s) added to its WHERE clause, joined to the existing clause via AND, if any. Both :meth:`_dml.Update.where` and :meth:`_dml.Delete.where` support multiple-table forms, including database-specific ``UPDATE...FROM`` as well as ``DELETE..USING``. For backends that don't have multiple-table support, a backend agnostic approach to using multiple tables is to make use of correlated subqueries. See the linked tutorial sections below for examples. .. seealso:: :ref:`tutorial_correlated_updates` :ref:`tutorial_update_from` :ref:`tutorial_multi_table_deletes`