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