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 following error is raised by Telescope when a query is recorded:
PDOException with message 'SQLSTATE[IM001]: Driver does not support this function: driver does not support quoting'
The reason is that telescope uses $event->connection->getPdo()->quote($binding) in order to binding the quotes, however according to PHP documentation PDO::quote is not supported by PDO_ODBC.
Steps To Reproduce:
Setup a ODBC source in Laravel (You can install the package a Laravel ODBC package).
Activate Telescope.
Run a query against the ODBC connection.
Notes
A possible solution to this problem it could be verify if PDO driver is different than ODBC, and use an alternative method of quoting the bindings.
Description:
The following error is raised by Telescope when a query is recorded:
PDOException with message 'SQLSTATE[IM001]: Driver does not support this function: driver does not support quoting'
The reason is that telescope uses
$event->connection->getPdo()->quote($binding)
in order to binding the quotes, however according to PHP documentation PDO::quote is not supported by PDO_ODBC.Steps To Reproduce:
Notes
A possible solution to this problem it could be verify if PDO driver is different than ODBC, and use an alternative method of quoting the bindings.
It's possible to check the driver using:
The text was updated successfully, but these errors were encountered: