update : 2015.11.03
php.shukuma.com검색:
|
MongoDB::getCollectionNames(PECL mongo >=1.3.0) MongoDB::getCollectionNames — Gets an array of names for all collections in this database 설명
public array MongoDB::getCollectionNames
([ array
$options = array()
] )Gets a list of all collections in the database and returns their names as an array of strings.
인수
반환값Returns the collection names as an array of strings. 오류/예외For MongoDB 2.6 and earlier, MongoException will be thrown if a non-string value was specified for the "filter" option's "name" criteria. 변경점
예제Example #1 MongoDB::getCollectionNames() example
<?php 위 예제의 출력 예시: ... Found collection: img Found collection: beer Found collection: collation ... 참고
|