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

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

Create a new query exception instance.

Parameters

string $sql
array $bindings
Exception $previous

Return Value

void

at line line 64
string getSql()

Get the SQL for the query.

Return Value

string

at line line 74
array getBindings()

Get the bindings for the query.

Return Value

array