MCPcopy Index your code
hub / github.com/dbcli/mycli / _quote_sql_string

Method _quote_sql_string

mycli/sqlcompleter.py:1846–1847  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

1844
1845 @staticmethod
1846 def _quote_sql_string(value: str) -> str:
1847 return "'" + value.replace("'", "''") + "'"
1848
1849 def populate_schema_objects(self, schema: str | None, obj_type: str, columns: list[str] | None = None) -> list[str]:
1850 """Returns list of tables or functions for a (optional) schema"""

Calls

no outgoing calls