MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_update_8

Method test_update_8

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

Source from the content-addressed store, hash-verified

567 )
568
569 def test_update_8(self):
570 table1 = self.tables.mytable
571
572 self.assert_compile(
573 update(table1).where(table1.c.myid == 12),
574 "UPDATE mytable SET myid=:myid WHERE mytable.myid = :myid_1",
575 params={"myid": 18},
576 checkparams={"myid": 18, "myid_1": 12},
577 )
578
579 def test_update_9(self):
580 table1 = self.tables.mytable

Callers

nothing calls this directly

Calls 3

updateFunction · 0.90
assert_compileMethod · 0.80
whereMethod · 0.45

Tested by

no test coverage detected