|
Schema::getCollectionsGet all schema collections Description
public array mysql_xdevapi\Schema::getCollections()
Fetch a list of collections for this schema. ParametersThis function has no parameters. Return ValuesArray of all collections in this schema, where each array element value is a Collection object with the collection name as the key. ExamplesExample #1 mysql_xdevapi\Schema::getCollections example The above example will output something similar to:
array(1) {
["people"]=>
object(mysql_xdevapi\Collection)#4 (1) {
["name"]=>
string(6) "people"
}
}
|