GoLang ifx_error

request it (413)
GoLang replacement for PHP's ifx_error [edit | history]



Do you know a GoLang replacement for PHP's ifx_error? Write it!

PHP ifx_error

PHP original manual for ifx_error [ show | php.net ]

ifx_error

(PHP 4, PHP 5 < 5.2.1)

ifx_errorReturns error code of last Informix call

Description

string ifx_error ([ resource $link_identifier ] )

Returns in a string one character describing the general results of a statement and both SQLSTATE and SQLCODE associated with the most recent SQL statement executed.

Parameters

link_identifier

The link identifier.

Return Values

The Informix error codes (SQLSTATE & SQLCODE) formatted as x [SQLSTATE = aa bbb SQLCODE=cccc].

where x = space : no error

E : error

N : no more data

W : warning

? : undefined

If the "x" character is anything other than space, SQLSTATE and SQLCODE describe the error in more detail.

See the Informix manual for the description of SQLSTATE and SQLCODE

See Also