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

Method update_from_clause

lib/sqlalchemy/dialects/postgresql/base.py:2501–2508  ·  view source on GitHub ↗
(
        self, update_stmt, from_table, extra_froms, from_hints, **kw
    )

Source from the content-addressed store, hash-verified

2499 return "ON CONFLICT %s DO UPDATE SET %s" % (target_text, action_text)
2500
2501 def update_from_clause(
2502 self, update_stmt, from_table, extra_froms, from_hints, **kw
2503 ):
2504 kw["asfrom"] = True
2505 return "FROM " + ", ".join(
2506 t._compiler_dispatch(self, fromhints=from_hints, **kw)
2507 for t in extra_froms
2508 )
2509
2510 def delete_extra_from_clause(
2511 self, delete_stmt, from_table, extra_froms, from_hints, **kw

Callers

nothing calls this directly

Calls 2

joinMethod · 0.45
_compiler_dispatchMethod · 0.45

Tested by

no test coverage detected