|
Schema::getCollectionAsTableGet collection as a Table object Description
public mysql_xdevapi\Table mysql_xdevapi\Schema::getCollectionAsTable(string
$name)Get a collection, but as a Table object instead of a Collection object. Parameters
Return ValuesA mysql_xdevapi\Table object for the collection. ExamplesExample #1 mysql_xdevapi\Schema::getCollectionAsTable example The above example will output something similar to:
object(mysql_xdevapi\Table)#4 (1) {
["name"]=>
string(6) "people"
}
object(mysql_xdevapi\Collection)#5 (1) {
["name"]=>
string(6) "people"
}
|