Mysqli
PHP Manual

The mysqli_sql_exception class

(PHP 5)

简介

The mysqli exception handling class.

类摘要

mysqli_sql_exception extends RuntimeException {
/* 属性 */
protected string $sqlstate ;
/* 继承的属性 */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
}

属性

sqlstate

The sql state with the error.


Mysqli
PHP Manual