|
The MongoCollection class(Информация о версии неизвестна, возможно, только в SVN) ВведениеRepresentations a database collection. Collection names can use any character in the ASCII set. Some valid collection names are "", "...", "my collection", and "*&#@". User-defined collection names cannot contain the $ symbol. There are certain system collections which use a $ in their names (e.g., local.oplog.$main), but it is a reserved character. If you attempt to create and use a collection with a $ in the name, MongoDB will assert. Обзор классов
MongoCollection
{
/* Константы */
/* Fields */
/* Методы */
public int MongoCollection::count
([ array $query = array()
[, int $limit = 0
[, int $skip = 0
]]] )
public array MongoCollection::group
( mixed $keys
, array $initial
, MongoCode $reduce
[, array $options = array()
] )
public bool|array MongoCollection::remove
([ array $criteria = array()
[, array $options = array()
]] )
public bool|array MongoCollection::update
( array $criteria
, array $new_object
[, array $options = array()
] )
}Предопределенные константы
Fields
Смотрите такжеMongoDB core docs on » collections. Содержание
|
|