MongoCollection::__construct
(PECL mongo >=0.9.0)
MongoCollection::__construct — Creates a new collection
Description
Return Values
Returns a new collection object.
Errors/Exceptions
Throws default exception if the collection name is invalid.
(PECL mongo >=0.9.0)
MongoCollection::__construct — Creates a new collection
Returns a new collection object.
Throws default exception if the collection name is invalid.