QueryException (Database)

QueryException

class QueryException extends PDOException (View source)

Methods

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.

Details

void __construct(string $sql, array $bindings, Exception $previous)

Create a new query exception instance.

Parameters

string $sql
array $bindings
Exception $previous

Return Value

void

string getSql()

Get the SQL for the query.

Return Value

string

array getBindings()

Get the bindings for the query.

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Database/QueryException.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部