|
Schema::getCollectionGet collection from schema Description
public mysql_xdevapi\Collection mysql_xdevapi\Schema::getCollection(string
$name )Get a collection from the schema. Parameters
Return ValuesThe Collection object for the selected collection. ExamplesExample #1 mysql_xdevapi\Schema::getCollection example
The above example will output something similar to: object(mysql_xdevapi\Collection)#3 (1) { ["name"]=> string(5) "trees" } |