MongoDB
PHP Manual

MongoDB::listCollections

(PECL mongo >=0.9.0)

MongoDB::listCollectionsGet a list of collections in this database

Descrição

public array MongoDB::listCollections ( void )

Parâmetros

Esta função não contém parâmetros.

Valor Retornado

Returns a list of collection names.


MongoDB
PHP Manual