(PECL mongo >=0.9.0)
MongoCollection::createIndex
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=1.5.0) Creates an index on the specified field(s) if it does not already exist.

2025-01-10 15:47:30
MongoCollection::validate
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=0.9.0) Validates this collection

2025-01-10 15:47:30
MongoCollection::batchInsert
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=0.9.0) Inserts multiple documents into this collection

2025-01-10 15:47:30
MongoCollection::setReadPreference
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=1.3.0) Set the read preference for this collection

2025-01-10 15:47:30
MongoCollection::save
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=0.9.0) Saves a document to this collection

2025-01-10 15:47:30
MongoCollection::aggregateCursor
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=1.5.0) Execute an aggregation pipeline command and retrieve results through a cursor

2025-01-10 15:47:30
MongoCollection::drop
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=0.9.0) Drops this collection

2025-01-10 15:47:30
MongoCollection::insert
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=0.9.0) Inserts a document into the collection

2025-01-10 15:47:30
MongoCollection::distinct
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=1.2.11) Retrieve a list of distinct values for the given key across a collection.

2025-01-10 15:47:30
MongoCollection::ensureIndex
  • References/PHP/Function/Database/MongoDB driver/MongoCollection

(PECL mongo >=0.9.0) Creates an index on the specified field(s) if it does not already exist.

2025-01-10 15:47:30