Pike v8.1 release 6

Method Mysql.mysql()->sqlstate()


Method sqlstate

string sqlstate()

Description

Returns the SQLSTATE error code describing the last error.

The value "000000" means 'no error'. The SQLSTATE error codes are described in ANSI SQL.