get_sqlstate


Description:

public unowned string get_sqlstate ()

Get the SQLSTATE value of this.

Even though the SQLSTATE values are specified by ANSI SQL and ODBC, consult each DBMS for the possible values. However, the "00000" (success) value means that there is no error, and the "HY000" (general error) value means an error but no better error code available.

Parameters:

this

a ConnectionEvent.

Returns:

this's SQL state.