MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / update_from_clause

Method update_from_clause

lib/sqlalchemy/sql/compiler.py:6517–6527  ·  view source on GitHub ↗

Provide a hook to override the generation of an UPDATE..FROM clause. MySQL and MSSQL override this.

(
        self, update_stmt, from_table, extra_froms, from_hints, **kw
    )

Source from the content-addressed store, hash-verified

6515 return from_table._compiler_dispatch(self, iscrud=True, **kw)
6516
6517 def update_from_clause(
6518 self, update_stmt, from_table, extra_froms, from_hints, **kw
6519 ):
6520 """Provide a hook to override the generation of an
6521 UPDATE..FROM clause.
6522 MySQL and MSSQL override this.
6523 """
6524 raise NotImplementedError(
6525 "This backend does not support multiple-table "
6526 "criteria within UPDATE"
6527 )
6528
6529 def update_post_criteria_clause(
6530 self, update_stmt: Update, **kw: Any

Callers 1

visit_updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected