PHP 클래스 Amp\Mysql\Pool

파일 보기 프로젝트 열기: amphp/mysql 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $connStr, $sslOptions = null )
__destruct ( )
close ( )
createDatabase ( $db )
debugStdout ( )
dropDatabase ( $db )
getConnection ( ) * extracts a Connection and returns it, wrapped in a Promise
init ( )
killProcess ( $process )
listAllFields ( $table, $like = "%" )
listFields ( $table, $like = "%" )
ping ( )
prepare ( $query, $data = null )
processInfo ( )
query ( $query )
refresh ( $subcommand )
setCharset ( $charset, $collate = "" )
shutdown ( )
statistics ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $connStr, $sslOptions = null )

__destruct() 공개 메소드

public __destruct ( )

close() 공개 메소드

public close ( )

createDatabase() 공개 메소드

public createDatabase ( $db )

debugStdout() 공개 메소드

public debugStdout ( )

dropDatabase() 공개 메소드

public dropDatabase ( $db )

getConnection() 공개 메소드

* extracts a Connection and returns it, wrapped in a Promise
public getConnection ( )

init() 공개 메소드

public init ( )

killProcess() 공개 메소드

public killProcess ( $process )

listAllFields() 공개 메소드

public listAllFields ( $table, $like = "%" )

listFields() 공개 메소드

public listFields ( $table, $like = "%" )

ping() 공개 메소드

public ping ( )

prepare() 공개 메소드

public prepare ( $query, $data = null )

processInfo() 공개 메소드

public processInfo ( )

query() 공개 메소드

public query ( $query )

refresh() 공개 메소드

public refresh ( $subcommand )

setCharset() 공개 메소드

public setCharset ( $charset, $collate = "" )

shutdown() 공개 메소드

public shutdown ( )

statistics() 공개 메소드

public statistics ( )