Session class
(PECL mysql-xdevapi >= 8.0.11)
简介
类摘要
class mysql_xdevapi\Session
{
/* 方法 */
public close(): bool
public commit(): Object
public dropSchema(string
$schema_name
): boolpublic generateUUID(): string
public getDefaultSchema(): string
public getSchemas(): array
public getServerVersion(): int
public listClients(): array
public quoteName(string
$name
): stringpublic releaseSavepoint(string
$name
): voidpublic rollback(): void
public rollbackTo(string
$name
): voidpublic setSavepoint(string
$name
= ?): stringpublic startTransaction(): void
}目录
- Session::close — Close session
- Session::commit — Commit transaction
- Session::__construct — Description constructor
- Session::createSchema — Create new schema
- Session::dropSchema — Drop a schema
- Session::generateUUID — Get new UUID
- Session::getDefaultSchema — Get default schema name
- Session::getSchema — Get a new schema object
- Session::getSchemas — Get the schemas
- Session::getServerVersion — Get server version
- 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

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/class.mysql-xdevapi-session.php