Schema class

(PECL mysql-xdevapi >= 8.0.11)

Introduction

Class synopsis

class mysql_xdevapi\Schema implements mysql_xdevapi\DatabaseObject {
/* Properties */
public $name;
/* Methods */
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
}

Properties

name

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top