Laravel Tech Community
Jun 17, 2021 · Databases
PDO::errorCode – Retrieve the SQLSTATE of the Last Database Operation
PDO::errorCode is a PHP method that returns the SQLSTATE code—a five‑character identifier defined by the ANSI SQL standard—representing the outcome of the most recent operation on a database handle, or NULL if no operation has been performed.
DatabasePDOPHP
0 likes · 1 min read