mysql_xdevapi\Schema
PHP Manual

Schema::getCollections

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

Schema::getCollectionsGet all schema collections

Description

public array mysql_xdevapi\Schema::getCollections ( void )

Fetch a list of collections for this schema.

Parameters

This function has no parameters.

Return Values

Array of all collections in this schema.

Examples

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

<?php

$collections 
$schema->getCollections();

?>

mysql_xdevapi\Schema
PHP Manual