class QueryException extends PDOException (View source)
void | __construct( string $sql, array $bindings, Exception $previous) Create a new query exception instance. | |
string | getSql() Get the SQL for the query. | |
array | getBindings() Get the bindings for the query. |
Create a new query exception instance.
Get the SQL for the query.
Get the bindings for the query.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Database/QueryException.html