You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The methods in the database drivers that start with an underscore are intended to be overridden by your own drivers if needed. You should override that method in your driver to properly escape a string.
What is it?
protected function _escapeString(string $str): string
{
return str_replace("'", "''", remove_invisible_characters($str, false));
}
I'am writing driver for ClickHouse, and I getted error because CI puts double quotes in query. Is it such an abstract function?
My result query from db driver: SELECT * FROM table WHERE
key
=''value''('' it isnt ")
The text was updated successfully, but these errors were encountered: