Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quotation Syntax #1122

Open
anjey58 opened this issue Jul 26, 2024 · 0 comments
Open

Quotation Syntax #1122

anjey58 opened this issue Jul 26, 2024 · 0 comments

Comments

@anjey58
Copy link

anjey58 commented Jul 26, 2024

Does not work: $db->query("SHOW TABLES LIKE '<users>'")->fetchColumn()
It is possible to make changes to: protected function buildRaw($raw, array &$map): ?string

...
"/(([`'])[<]?)?((FROM|TABLE|INTO|UPDATE|JOIN|TABLES LIKE|TABLE IF EXISTS)\s)?'?<(([\p{L}][\p{L}\p{N}@$#-])(.[\p{L}][\p{L}\p{N}@$#-])?)>'?([^,]*?\2)?/",
...
$raw->value
);
$query=str_replace('"', ''', $query);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant