Skip to content

Fix quoted bindings for non-PDO connetions#754

Open
FeBe95 wants to merge 1 commit intoitsgoingd:masterfrom
FeBe95:patch-1
Open

Fix quoted bindings for non-PDO connetions#754
FeBe95 wants to merge 1 commit intoitsgoingd:masterfrom
FeBe95:patch-1

Conversation

@FeBe95
Copy link
Contributor

@FeBe95 FeBe95 commented Feb 8, 2026

When using a non-PDO connection (e.g. https://github.com/glushkovds/phpclickhouse-laravel), parameter bindings were empty.

The fallback quoting mechanism in Clockwork uses str_replace() instead of $pdo->quote(), so we can also use it for non-PDO connections,

Before:

Bildschirmfoto am 2026-02-08 um 01 14 26

After:

Bildschirmfoto am 2026-02-08 um 01 14 43

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

Successfully merging this pull request may close these issues.

1 participant