PHP MySQLi 函数

PHP mysqli_sql_exception 类是 mysqli 异常处理类。

类概要

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

属性

sqlstate 出现错误的sql状态