Session class
(PECL mysql-xdevapi >= 8.0.11)
简介
类摘要
mysql_xdevapi\Session {
/* 方法 */
public
close (
void ) :
bool
public
commit (
void ) :
Object
public
createSchema (
string
$schema_name
) :
mysql_xdevapi\Schema
public
dropSchema (
string
$schema_name
) :
bool
public
executeSql (
string
$statement
) :
Object
public
generateUUID (
void ) :
string
public
getClientId (
void ) :
integer
public
getSchema (
string
$schema_name
) :
mysql_xdevapi\Schema
public
getSchemas (
void ) :
array
public
getServerVersion (
void ) :
integer
public
killClient (
integer
$client_id
) :
object
public
listClients (
void ) :
array
public
quoteName (
string
$name
) :
string
public
releaseSavepoint (
string
$name
) :
void
public
rollback (
void ) :
void
public
rollbackTo (
string
$name
) :
void
public
setSavepoint ([
string
$name
] ) :
string
public
sql (
string
$query
) :
mysql_xdevapi\SqlStatement
public
startTransaction (
void ) :
void
}
Table of Contents
- Session::close — Close session
- Session::commit — Commit transaction
- Session::__construct — Description constructor
- Session::createSchema — Create new schema
- Session::dropSchema — Drop a schema
- Session::executeSql — Execute an SQL statement
- Session::generateUUID — Get new UUID
- Session::getClientId — Get client ID
- Session::getSchema — Get a new schema object
- Session::getSchemas — Get the schemas
- Session::getServerVersion — Get server version
- Session::killClient — Kill the client
- Session::listClients — Get client list
- Session::quoteName — Add quotes
- Session::releaseSavepoint — Release set savepoint
- Session::rollback — Rollback transaction
- Session::rollbackTo — Rollback transaction to savepoint
- Session::setSavepoint — Create savepoint
- Session::sql — Execute SQL query
- Session::startTransaction — Start transaction