(self)
| 178 | ) |
| 179 | |
| 180 | def test_update_literal_binds(self): |
| 181 | table1 = self.tables.mytable |
| 182 | |
| 183 | stmt = ( |
| 184 | table1.update().values(name="jack").where(table1.c.name == "jill") |
| 185 | ) |
| 186 | |
| 187 | self.assert_compile( |
| 188 | stmt, |
| 189 | "UPDATE mytable SET name='jack' WHERE mytable.name = 'jill'", |
| 190 | literal_binds=True, |
| 191 | ) |
| 192 | |
| 193 | def test_update_custom_key_thing(self): |
| 194 | table1 = self.tables.mytable |
nothing calls this directly
no test coverage detected