MongoDB::lastError
  • References/PHP/Function/Database/MongoDB driver/MongoDB

(PECL mongo >=0.9.5) Check if there was an error on the most recent db operation performed

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

(PECL mongo >=1.6.0) Returns information about collections in this database

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

(PECL mongo >=0.9.5) Clears any flagged errors on the database

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

(PECL mongo >=0.9.0) Returns the current element

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

(PECL mongo >=0.9.0) Creates new file collections

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

(PECL mongo >=0.9.0) Fetches toolkit for dealing with files stored in this database

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

(PECL mongo >=0.9.2) Counts the number of results for this query

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

(PECL mongo >=0.9.0) Create a new cursor public

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

(PECL mongo >=0.9.0) Drops a collection [deprecated]

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

(PECL mongo >=1.5.0) Set the write concern for this database

2025-01-10 15:47:30