Exception from a query
package | salt\sql |
---|---|
inherited_from | \salt\SaltException |
__construct(string $message, string $query, \PDOException $previous = NULL
)
string
Exception message
string
the SQL query
\PDOException
previous exception
getQuery() : string
string
sql query textgetSqlStateErrorCode() : string
string
sql SQLSTATE error code$query : string
$sqlStateErrorCode : string
NULL
TABLE_DOES_NOT_EXISTS = '42S02' : string