Explicitly begin a connection. This method is not used when autocommit=False (default).
(self)
| 319 | return s |
| 320 | |
| 321 | def begin(self): |
| 322 | """Explicitly begin a connection. |
| 323 | |
| 324 | This method is not used when autocommit=False (default). |
| 325 | """ |
| 326 | self.query(b"BEGIN") |
| 327 | |
| 328 | def set_character_set(self, charset, collation=None): |
| 329 | """Set the connection character set to charset.""" |