Skip to content

Double quotes #2459

Description

@MashinaMashina

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 ")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions