📜  php pdo 错误处理 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:50.181000             🧑  作者: Mango

代码示例1
$database -> errorInfo()[0] # SQLSTATE error code (a five characters alphanumeric identifier defined in the ANSI SQL standard).
$database -> errorInfo()[1] # Driver-specific error code.
$database -> errorInfo()[2] # Driver-specific error message.