中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
Schema::__construct »
« RowResult::getWarningsCount
Manual do PHP
Referência das Funções
Extensões de Banco de Dados
Extensões de Banco de Dados Específicas de Terceiros
MySQL
Mysql_xdevapi
Schema class
(PECL mysql-xdevapi >= 8.0.11)
Introdução
Resumo da classe
class
mysql_xdevapi\Schema
implements
mysql_xdevapi\DatabaseObject
{
public
$
name
;
public
createCollection
(
string
$name
,
string
$validate
= ?
):
mysql_xdevapi\Collection
public
dropCollection
(
string
$collection_name
):
bool
public
existsInDatabase
():
bool
public
getCollection
(
string
$name
):
mysql_xdevapi\Collection
public
getCollectionAsTable
(
string
$name
):
mysql_xdevapi\Table
public
getCollections
():
array
public
getName
():
string
public
getSession
():
mysql_xdevapi\Session
public
getTable
(
string
$name
):
mysql_xdevapi\Table
public
getTables
():
array
}
Propriedades
name
Índice
Schema::__construct
— Schema constructor
Schema::createCollection
— Add collection to schema
Schema::dropCollection
— Drop collection from schema
Schema::existsInDatabase
— Check if exists in database
Schema::getCollection
— Get collection from schema
Schema::getCollectionAsTable
— Get collection as a Table object
Schema::getCollections
— Get all schema collections
Schema::getName
— Get schema name
Schema::getSession
— Get schema session
Schema::getTable
— Get schema table
Schema::getTables
— Get schema tables