Schema class
(PECL mysql-xdevapi >= 8.0.11)
简介
类摘要
class mysql_xdevapi\Schema
implements
mysql_xdevapi\DatabaseObject {
/* 属性 */
public
$name;
/* 方法 */
public dropCollection(string
$collection_name
): boolpublic existsInDatabase(): bool
public getCollections(): array
public getName(): string
public getTables(): array
}属性
- name
目录
- Schema::__construct — 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 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

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