update : 2015.11.03
php.shukuma.com검색:
|
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. 예제
Example #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" |