MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_update_3

Method test_update_3

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

Source from the content-addressed store, hash-verified

507 )
508
509 def test_update_3(self):
510 table1 = self.tables.mytable
511
512 self.assert_compile(
513 update(table1).where(table1.c.myid == 7),
514 "UPDATE mytable SET name=:name WHERE mytable.myid = :myid_1",
515 params={"name": "fred"},
516 )
517
518 def test_update_4(self):
519 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