|
MysqlndUhConnection::getSqlstate(PECL mysqlnd-uh >= 1.0.0-alpha) MysqlndUhConnection::getSqlstate — Returns the SQLSTATE error from previous MySQL operation Описание
public string MysqlndUhConnection::getSqlstate
( mysqlnd_connection $connection
)
Returns the SQLSTATE error from previous MySQL operation. Список параметров
Возвращаемые значенияThe SQLSTATE code. Примеры
Пример #1 MysqlndUhConnection::getSqlstate() example
<?php Результат выполнения данного примера: proxy::getSqlstate(array ( 0 => NULL, )) proxy::getSqlstate returns '00000' string(5) "00000" proxy::getSqlstate(array ( 0 => NULL, )) proxy::getSqlstate returns '42000' string(5) "42000" Смотрите также
|
|