mysql_xdevapi\Schema
PHP Manual

Schema::getCollections

(No version information available, might only be in Git)

Schema::getCollectionsGet all schema collections

说明

public array mysql_xdevapi\Schema::getCollections ( void )

Fetch a list of collections for this schema.

参数

此函数没有参数。

返回值

Array of all collections in this schema.

范例

Example #1 mysql_xdevapi\Schema::getCollections() example

<?php

$collections 
$schema->getCollections();

?>

mysql_xdevapi\Schema
PHP Manual