PHP » GoLang |
login |
register |
about
|
GoLang MysqlndUhConnection::getSqlstate
request it (316)
GoLang replacement for PHP's MysqlndUhConnection::getSqlstate
[edit | history]
PHP MysqlndUhConnection::getSqlstatePHP original manual for MysqlndUhConnection::getSqlstate [ show | php.net ]MysqlndUhConnection::getSqlstate(PECL mysqlnd-uh >= 1.0.0-alpha) MysqlndUhConnection::getSqlstate — Returns the SQLSTATE error from previous MySQL operation Description
public string MysqlndUhConnection::getSqlstate
( mysqlnd_connection
$connection
)Returns the SQLSTATE error from previous MySQL operation. Parameters
Return ValuesThe SQLSTATE code. Examples
Example #1 MysqlndUhConnection::getSqlstate() example
<?php The above example will output: proxy::getSqlstate(array ( 0 => NULL, )) proxy::getSqlstate returns '00000' string(5) "00000" proxy::getSqlstate(array ( 0 => NULL, )) proxy::getSqlstate returns '42000' string(5) "42000" See Also
|
more
Recently updated
more
Most requested
more
Last requests
|