(self, s: str)
| 565 | return self.escape(obj) |
| 566 | |
| 567 | def _escape_string(self, s: str): |
| 568 | if self.server_status & SERVER_STATUS.SERVER_STATUS_NO_BACKSLASH_ESCAPES: |
| 569 | return s.replace("'", "''") # Escape only single quote. Use '' quote |
| 570 | return converters.escape_string(s) |
| 571 | |
| 572 | def cursor(self, cursor=None): |
| 573 | """ |