MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / update_from_clause

Method update_from_clause

lib/sqlalchemy/sql/compiler.py:6317–6329  ·  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

6315 return from_table._compiler_dispatch(self, iscrud=True, **kw)
6316
6317 def update_from_clause(
6318 self, update_stmt, from_table, extra_froms, from_hints, **kw
6319 ):
6320 """Provide a hook to override the generation of an
6321 UPDATE..FROM clause.
6322
6323 MySQL and MSSQL override this.
6324
6325 """
6326 raise NotImplementedError(
6327 "This backend does not support multiple-table "
6328 "criteria within UPDATE"
6329 )
6330
6331 def visit_update(
6332 self,

Callers 1

visit_updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected