maxdb_warning_count
Wstęp
Rozszerzenia producentów baz danych
PHP Manual

# Mongo

- Wstęp
- Instalacja/Konfiguracja
  - Wymagania
  - Instalacja
  - Konfiguracja wykonawcza
- Stałe predefiniowane
- Przykłady
- Mongo — The Mongo class
  - Mongo::close — Closes this database connection
  - Mongo::connect — Connects to a database server
  - Mongo::connectUtil — Connects with a database server
  - Mongo::__construct — Creates a new database connection object
  - Mongo::dropDB — Drops a database
  - Mongo::forceError — Creates a database error
  - Mongo::lastError — Check if there was an error on the most recent db operation performed
  - Mongo::pairConnect — Connects to paired database server
  - Mongo::pairPersistConnect — Creates a persistent connection with paired database servers
  - Mongo::persistConnect — Creates a persistent connection with a database server
  - Mongo::prevError — Checks for the last error thrown during a database operation
  - Mongo::repairDB — Repairs and compacts a database
  - Mongo::resetError — Clears any flagged errors on the connection
  - Mongo::selectCollection — Gets a database collection
  - Mongo::selectDB — Gets a database
  - Mongo::__toString — String representation of this connection
- MongoDB — The MongoDB class
  - MongoDB::command — Execute a database command
  - MongoDB::__construct — Creates a new database
  - MongoDB::createCollection — Creates a collection
  - MongoDB::createDBRef — Creates a database reference
  - MongoDB::drop — Drops this database
  - MongoDB::dropCollection — Drops a collection
  - MongoDB::execute — Runs JavaScript code on the database server.
  - MongoDB::getCursorInfo — Gets information from the database about cursors
  - MongoDB::getDBRef — Fetches the document pointed to by a database reference
  - MongoDB::getGridFS — Fetches toolkit for dealing with files stored in this database
  - MongoDB::getProfilingLevel — Gets this database's profiling level
  - MongoDB::listCollections — Get a list of collections in this database
  - MongoDB::repair — Repairs and compacts this database
  - MongoDB::selectCollection — Gets a collection
  - MongoDB::setProfilingLevel — Sets this database's profiling level
  - MongoDB::__toString — The name of this database
- MongoCollection — The MongoCollection class
  - MongoCollection::batchInsert — Inserts multiple documents into this collection
  - MongoCollection::__construct — Creates a new collection
  - MongoCollection::count — Counts the number of documents in this collection
  - MongoCollection::createDBRef — Creates a database reference
  - MongoCollection::deleteIndex — Deletes an index from this collection
  - MongoCollection::deleteIndexes — Delete all indices for this collection
  - MongoCollection::drop — Drops this collection
  - MongoCollection::ensureIndex — Creates an index on the given field(s), or does nothing if the index already exists
  - MongoCollection::find — Querys this collection
  - MongoCollection::findOne — Querys this collection, returning a single element
  - MongoCollection::getDBRef — Fetches the document pointed to by a database reference
  - MongoCollection::getIndexInfo — Returns an array of index names for this collection
  - MongoCollection::getName — Returns this collection's name
  - MongoCollection::group — Performs an operation similar to SQL's GROUP BY command
  - MongoCollection::insert — Inserts an array into the collection
  - MongoCollection::remove — Remove records from this collection
  - MongoCollection::save — Saves an object to this collection
  - MongoCollection::__toString — String representation of this collection
  - MongoCollection::update — Update records based on a given criteria
  - MongoCollection::validate — Validates this collection
- MongoCursor — The MongoCursor class
  - MongoCursor::__construct — Create a new cursor
  - MongoCursor::count — Counts the number of results for this query
  - MongoCursor::current — Returns the current result
  - MongoCursor::doQuery — Execute the query.
  - MongoCursor::explain — Return an explanation of the query, often useful for optimization and debugging
  - MongoCursor::getNext — Return the next object to which this cursor points, and advance the cursor
  - MongoCursor::hasNext — Checks if there are any more elements in this cursor
  - MongoCursor::hint — Gives the database a hint about the query
  - MongoCursor::key — Returns the current result's _id
  - MongoCursor::limit — Limits the number of results returned
  - MongoCursor::next — Advances the cursor to the next result
  - MongoCursor::reset — Clears the cursor
  - MongoCursor::rewind — Returns the cursor to the beginning of the result set
  - MongoCursor::skip — Skips a number of results
  - MongoCursor::slaveOkay — Sets whether this query can be done on a slave
  - MongoCursor::sort — Sorts the results by given fields
  - MongoCursor::tailable — Sets whether this cursor will be left open after fetching the last results
  - MongoCursor::valid — Checks if the cursor is reading a valid result.
- MongoEmptyObj — The MongoEmptyObj class
- MongoGridFS — The MongoGridFS class
  - MongoGridFS::__construct — Creates new file collections
  - MongoGridFS::drop — Drops the files and chunks collections
  - MongoGridFS::find — Queries for files
  - MongoGridFS::findOne — Returns a single file matching the criteria
  - MongoGridFS::remove — Removes files from the collections
  - MongoGridFS::storeBytes — Chunkifies and stores bytes in the database
  - MongoGridFS::storeFile — Stores a file in the database
  - MongoGridFS::storeUpload — Saves an uploaded file to the database
- MongoGridFSFile — The MongoGridFSFile class
  - MongoGridfsFile::__construct — Create a new GridFS file
  - MongoGridFSFile::getBytes — Returns this file's contents as a string of bytes
  - MongoGridFSFile::getFilename — Returns this file's filename
  - MongoGridFSFile::getSize — Returns this file's size
  - MongoGridFSFile::write — Writes this file to the filesystem
- MongoGridFSCursor — The MongoGridFSCursor class
  - MongoGridFSCursor::__construct — Create a new cursor
  - MongoGridFSCursor::current — Returns the current file
  - MongoGridFSCursor::getNext — Return the next file to which this cursor points, and advance the cursor
  - MongoGridFSCursor::key — Returns the current result's filename
- MongoId — The MongoId class
  - MongoId::__construct — Creates a new id
  - MongoId::__toString — Returns a hexidecimal representation of this id
- MongoCode — The MongoCode class
  - MongoCode::__construct — Creates a new code object
  - MongoCode::__toString — Returns this code as a string
- MongoDate — The MongoDate class
  - MongoDate::__construct — Creates a new date.
  - MongoDate::__toString — Returns a string representation of this date
- MongoRegex — The MongoRegex class
  - MongoRegex::__construct — Creates a new regular expression
  - MongoRegex::__toString — A string representation of this regular expression
- MongoBinData — The MongoBinData class
  - MongoBinData::__construct — Creates a new binary data object.
  - MongoBinData::__toString — The string representation of this binary data object.
- MongoDBRef — The MongoDBRef class
  - MongoDBRef::create — Creates a new database reference
  - MongoDBRef::get — Fetches the object pointed to by a reference
  - MongoDBRef::isRef — Checks if an array is a database reference
- MongoException — The MongoException class
- MongoCursorException — The MongoCursorException class
- MongoConnectionException — The MongoConnectionException class
- MongoGridFSException — The MongoGridFSException class

maxdb_warning_count
Wstęp
Rozszerzenia producentów baz danych
PHP Manual