PHP Manual

  • English French German Portuguese Spanish
Manual do PHP Referência das Funções Extensões de Banco de Dados Vendor Specific Database Extensions Mongo Core Classes MongoDB MongoDB::selectCollection
MongoDB MongoDB::authenticate MongoDB::command MongoDB::__construct MongoDB::createCollection MongoDB::createDBRef MongoDB::drop MongoDB::dropCollection MongoDB::execute MongoDB::forceError MongoDB::__get MongoDB::getCollectionInfo MongoDB::getCollectionNames MongoDB::getDBRef MongoDB::getGridFS MongoDB::getProfilingLevel MongoDB::getReadPreference MongoDB::getSlaveOkay MongoDB::getWriteConcern MongoDB::lastError MongoDB::listCollections MongoDB::prevError MongoDB::repair MongoDB::resetError MongoDB::selectCollection MongoDB::setProfilingLevel MongoDB::setReadPreference MongoDB::setSlaveOkay MongoDB::setWriteConcern MongoDB::__toString
  • MongoDB::resetError
  • MongoDB::setProfilingLevel

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollection — Gets a collection

Descrição

public MongoCollection MongoDB::selectCollection ( string $name )

Parâmetros

name

The collection name.

Valor Retornado

Returns a new collection object.

Erros

Throws Exception if the collection name is invalid.

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.