GoLang MongoDB::selectCollection

request it (386)
GoLang replacement for PHP's MongoDB::selectCollection [edit | history]



Do you know a GoLang replacement for PHP's MongoDB::selectCollection? Write it!

PHP MongoDB::selectCollection

PHP original manual for MongoDB::selectCollection [ show | php.net ]

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Description

public MongoCollection MongoDB::selectCollection ( string $name )

Parameters

name

The collection name.

Return Values

Returns a new collection object.

Errors/Exceptions

Throws Exception if the collection name is invalid.