PHP 7.0.6 Released
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Errors
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
PHP Manual
Function Reference
Database Extensions
Vendor Specific Database Extensions
MongoDB
MongoDB driver classes
MongoDB\Driver\Manager
— The MongoDB\Driver\Manager class
MongoDB\Driver\Manager::__construct
— Create new MongoDB Manager
MongoDB\Driver\Manager::executeBulkWrite
— Execute one or more write operations
MongoDB\Driver\Manager::executeCommand
— Execute a database command
MongoDB\Driver\Manager::executeQuery
— Execute a database query
MongoDB\Driver\Manager::getServers
— Return the servers to which this manager is connected
MongoDB\Driver\Manager::selectServer
— Select a server matching a read preference
MongoDB\Driver\Command
— The MongoDB\Driver\Command class
MongoDB\Driver\Command::__construct
— Create a new Command
MongoDB\Driver\Query
— The MongoDB\Driver\Query class
MongoDB\Driver\Query::__construct
— Construct new Query
MongoDB\Driver\BulkWrite
— The MongoDB\Driver\BulkWrite class
MongoDB\Driver\BulkWrite::__construct
— Create a new BulkWrite
MongoDB\Driver\BulkWrite::count
— Count number of write operations in the bulk
MongoDB\Driver\BulkWrite::delete
— Add a delete operation to the bulk
MongoDB\Driver\BulkWrite::insert
— Add an insert operation to the bulk
MongoDB\Driver\BulkWrite::update
— Add an update operation to the bulk
MongoDB\Driver\WriteConcern
— The MongoDB\Driver\WriteConcern class
MongoDB\Driver\WriteConcern::__construct
— Construct immutable WriteConcern
MongoDB\Driver\WriteConcern::getJournal
— Returns the WriteConcern's "journal" option
MongoDB\Driver\WriteConcern::getW
— Returns the WriteConcern's "w" option
MongoDB\Driver\WriteConcern::getWtimeout
— Returns the WriteConcern's "wtimeout" option
MongoDB\Driver\ReadPreference
— The MongoDB\Driver\ReadPreference class
MongoDB\Driver\ReadPreference::__construct
— Construct immutable ReadPreference
MongoDB\Driver\ReadPreference::getMode
— Returns the ReadPreference's "mode" option
MongoDB\Driver\ReadPreference::getTagSets
— Returns the ReadPreference's "tagSets" option
MongoDB\Driver\ReadConcern
— The MongoDB\Driver\ReadConcern class
MongoDB\Driver\ReadConcern::__construct
— Construct immutable ReadConcern
MongoDB\Driver\ReadConcern::getLEvel
— Returns the ReadConcern's "level" option
MongoDB\Driver\Cursor
— The MongoDB\Driver\Cursor class
MongoDB\Driver\Cursor::__construct
— Create a new Cursor (not used)
MongoDB\Driver\Cursor::getId
— Returns the ID for this cursor
MongoDB\Driver\Cursor::getServer
— Returns the server associated with this cursor
MongoDB\Driver\Cursor::isDead
— Checks if the cursor is still open on the server
MongoDB\Driver\Cursor::setTypeMap
— Sets a type map to use for BSON unserialization
MongoDB\Driver\Cursor::toArray
— Returns an array containing all results for this cursor
MongoDB\Driver\CursorId
— The MongoDB\Driver\CursorId class
MongoDB\Driver\CursorId::__construct
— Create a new CursorId (not used)
MongoDB\Driver\CursorId::__toString
— String representation of the cursor ID
MongoDB\Driver\Server
— The MongoDB\Driver\Server class
MongoDB\Driver\Server::__construct
— Create a new Server (not used)
MongoDB\Driver\Server::executeBulkWrite
— Execute one or more write operations on this server
MongoDB\Driver\Server::executeCommand
— Execute a database command on this server
MongoDB\Driver\Server::executeQuery
— Execute a database query on this server
MongoDB\Driver\Server::getHost
— Returns the hostname of this server
MongoDB\Driver\Server::getInfo
— Returns an array of information about this server
MongoDB\Driver\Server::getLatency
— Returns the latency of this server
MongoDB\Driver\Server::getPort
— Returns the port on which this server is listening
MongoDB\Driver\Server::getTags
— Returns an array of tags describing this server in a replica set
MongoDB\Driver\Server::getType
— Returns an integer denoting the type of this server
MongoDB\Driver\Server::isArbiter
— Checks if this server is an arbiter member of a replica set
MongoDB\Driver\Server::isHidden
— Checks if this server is a hidden member of a replica set
MongoDB\Driver\Server::isPassive
— Checks if this server is a passive member of a replica set
MongoDB\Driver\Server::isPrimary
— Checks if this server is a primary member of a replica set
MongoDB\Driver\Server::isSecondary
— Checks if this server is a secondary member of a replica set
MongoDB\Driver\WriteConcernError
— The MongoDB\Driver\WriteConcernError class
MongoDB\Driver\WriteConcernError::getCode
— Description
MongoDB\Driver\WriteConcernError::getInfo
— Description
MongoDB\Driver\WriteConcernError::getMessage
— Description
MongoDB\Driver\WriteError
— The MongoDB\Driver\WriteError class
MongoDB\Driver\WriteError::getCode
— Description
MongoDB\Driver\WriteError::getIndex
— Description
MongoDB\Driver\WriteError::getMessage
— Description
MongoDB\Driver\WriteResult
— The MongoDB\Driver\WriteResult class
MongoDB\Driver\WriteResult::getDeletedCount
— Description
MongoDB\Driver\WriteResult::getInfo
— Description
MongoDB\Driver\WriteResult::getInsertedCount
— Description
MongoDB\Driver\WriteResult::getMatchedCount
— Description
MongoDB\Driver\WriteResult::getModifiedCount
— Description
MongoDB\Driver\WriteResult::getServer
— Description
MongoDB\Driver\WriteResult::getUpsertedCount
— Description
MongoDB\Driver\WriteResult::getUpsertedIds
— Description
MongoDB\Driver\WriteResult::getWriteConcernError
— Description
MongoDB\Driver\WriteResult::getWriteErrors
— Description
User Contributed Notes
There are no user contributed notes for this page.