MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_update_4

Method test_update_4

test/sql/test_update.py:518–524  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

516 )
517
518 def test_update_4(self):
519 table1 = self.tables.mytable
520
521 self.assert_compile(
522 update(table1).values({table1.c.name: table1.c.myid}),
523 "UPDATE mytable SET name=mytable.myid",
524 )
525
526 def test_update_5(self):
527 table1 = self.tables.mytable

Callers

nothing calls this directly

Calls 3

updateFunction · 0.90
assert_compileMethod · 0.80
valuesMethod · 0.45

Tested by

no test coverage detected