Php/docs/class.mysqlnduhconnection

来自菜鸟教程
跳转至:导航、​搜索

(PECL mysqlnd-uh >= 1.0.0-alpha)

简介

类摘要


MysqlndUhConnection {

/* 方法 */

public changeUser ( mysqlnd_connection $connection , string $user , string $password , string $database , bool $silent , int $passwd_len ) : bool

public charsetName ( mysqlnd_connection $connection ) : string

public close ( mysqlnd_connection $connection , int $close_type ) : bool

public connect ( mysqlnd_connection $connection , string $host , string $use" , string $password , string $database , int $port , string $socket , int $mysql_flags ) : bool

public __construct ( )

public endPSession ( mysqlnd_connection $connection ) : bool

public escapeString ( mysqlnd_connection $connection , string $escape_string ) : string

public getAffectedRows ( mysqlnd_connection $connection ) : int

public getErrorNumber ( mysqlnd_connection $connection ) : int

public getErrorString ( mysqlnd_connection $connection ) : string

public getFieldCount ( mysqlnd_connection $connection ) : int

public getHostInformation ( mysqlnd_connection $connection ) : string

public getLastInsertId ( mysqlnd_connection $connection ) : int

public getLastMessage ( mysqlnd_connection $connection ) : void

public getProtocolInformation ( mysqlnd_connection $connection ) : string

public getServerInformation ( mysqlnd_connection $connection ) : string

public getServerStatistics ( mysqlnd_connection $connection ) : string

public getServerVersion ( mysqlnd_connection $connection ) : int

public getSqlstate ( mysqlnd_connection $connection ) : string

public getStatistics ( mysqlnd_connection $connection ) : array

public getThreadId ( mysqlnd_connection $connection ) : int

public getWarningCount ( mysqlnd_connection $connection ) : int

public init ( mysqlnd_connection $connection ) : bool

public killConnection ( mysqlnd_connection $connection , int $pid ) : bool

public listFields ( mysqlnd_connection $connection , string $table , string $achtung_wild ) : array

public listMethod ( mysqlnd_connection $connection , string $query , string $achtung_wild , string $par1 ) : void

public moreResults ( mysqlnd_connection $connection ) : bool

public nextResult ( mysqlnd_connection $connection ) : bool

public ping ( mysqlnd_connection $connection ) : bool

public query ( mysqlnd_connection $connection , string $query ) : bool

public queryReadResultsetHeader ( mysqlnd_connection $connection , mysqlnd_statement $mysqlnd_stmt ) : bool

public reapQuery ( mysqlnd_connection $connection ) : bool

public refreshServer ( mysqlnd_connection $connection , int $options ) : bool

public restartPSession ( mysqlnd_connection $connection ) : bool

public selectDb ( mysqlnd_connection $connection , string $database ) : bool

public sendClose ( mysqlnd_connection $connection ) : bool

public sendQuery ( mysqlnd_connection $connection , string $query ) : bool

public serverDumpDebugInformation ( mysqlnd_connection $connection ) : bool

public setAutocommit ( mysqlnd_connection $connection , int $mode ) : bool

public setCharset ( mysqlnd_connection $connection , string $charset ) : bool

public setClientOption ( mysqlnd_connection $connection , int $option , int $value ) : bool

public setServerOption ( mysqlnd_connection $connection , int $option ) : void

public shutdownServer ( string $MYSQLND_UH_RES_MYSQLND_NAME , string $level ) : void

public simpleCommand ( mysqlnd_connection $connection , int $command , string $arg , int $ok_packet , bool $silent , bool $ignore_upsert_status ) : bool

public simpleCommandHandleResponse ( mysqlnd_connection $connection , int $ok_packet , bool $silent , int $command , bool $ignore_upsert_status ) : bool

public sslSet ( mysqlnd_connection $connection , string $key , string $cert , string $ca , string $capath , string $cipher ) : bool

public stmtInit ( mysqlnd_connection $connection ) : resource

public storeResult ( mysqlnd_connection $connection ) : resource

public txCommit ( mysqlnd_connection $connection ) : bool

public txRollback ( mysqlnd_connection $connection ) : bool

public useResult ( mysqlnd_connection $connection ) : resource

}

Table of Contents