(self, s: str)
| 555 | return self.escape(obj) |
| 556 | |
| 557 | def _escape_string(self, s: str): |
| 558 | if self.server_status & SERVER_STATUS.SERVER_STATUS_NO_BACKSLASH_ESCAPES: |
| 559 | return s.replace("'", "''") # Escape only single quote. Use '' quote |
| 560 | return converters.escape_string(s) |
| 561 | |
| 562 | def cursor(self, cursor=None): |
| 563 | """ |