|
|
|
|
Remark: These functions are also available in prefix syntax ( MongoDB functions (prefix syntax)). The following functions are used to manage MongoDB databases and GridFS:
| | MongoAdd | Adds one or more documents into a collection of MongoDB database. | MongoAggregationPipeline | Used to retrieve documents that enter a multi-stage pipeline and are transformed into aggregated results. | MongoCreate | Creates a connection to a MongoDB server or cluster. | MongoCreateCollection | Creates a collection in a MongoDB database while specifying the options of this collection. | MongoDeleteAll | Deletes all the documents (corresponding to the specified filter) from a collection of a MongoDB database. | MongoDeleteCollection | Deletes a collection from a MongoDB database. | MongoDeleteDatabase | Deletes a MongoDB database as well as its collections. | MongoDeleteOne | Deletes a document from a collection in a MongoDB database. | MongoExecuteCommand | Runs a generic command on a MongoDB database or on a MongoDB collection. | | Performs MongoDB write operations in bulk. This allows you to avoid network latency issues you would encounter if you performed the operations individually. | MongoFind | Finds documents in a MongoDB collection. | MongoGridFSDeleteFile | Deletes a file identified by its name from a MongoDB file system. | MongoGridFSDeleteFileByID | Deletes a file identified by its identifier from a MongoDB file system. | MongoGridFSGetFile | Retrieves (on the local computer) a file identified by its name and found in a MongoDB file system. | MongoGridFSGetFileByID | Retrieves (on the local computer) a file identified by its identifier and found in a MongoDB file system. | MongoGridFSGetFileInfo | Allows you to get information about a MongoDB file (gridFS). | MongoGridFSListFile | Retrieves the list of MongoDB files found in the MongoDB file system (gridFS). | MongoGridFSSendFile | Copies a file from the local computer to a MongoDB file system (gridFS). | MongoInfo | Returns information about a MongoDB database. | MongoModifyAll | Modifies documents in a collection of a MongoDB database. | MongoModifyOne | Modifies a document in a collection of MongoDB database. |
The following types of variables are used to handle the MongoDB databases and GridFS::
| | mongoCollection | The mongoCollection type is used to define the advanced characteristics of a collection in a database of a MongoDB server. | mongoCollectionOption | The mongoCollectionOption type is used to define the advanced characteristics of collection options in a MongoDB database. | mongoConnection | The mongoConnection type is used to define the advanced characteristics of a connection to a MongoDB server. | mongoDatabase | The mongoDatabase type is used to define the characteristics of a database for a MongoDB server. | mongoDatabaseInfo | The mongoDatabaseInfo type is used to define the advanced characteristics of information about a MongoDB database. | mongoFindOption | The mongoFindOption type is used to define the advanced characteristics of a search in a MongoDB database. | mongoGridFS | The mongoGridFS type is used to define the advanced characteristics of a file system for a MongoDB database. | mongoGridFSFileInfo | The mongoGridFSFileInfo type is used to define the advanced characteristics of a file in a MongoDB database. | | The mongoOperation type is used to define the different operations to be performed in bulk. These operations are stored in an array of mongoOperation variables. | | The mongoOperationAdd type is used to define all the advanced characteristics of a document add operation in bulk. | | The mongoOperationDeleteAll type is used to define all the advanced characteristics of a document delete operation that will be added to a bulk operations list. All the documents that match the selection filter will be deleted. | | The mongoOperationDeleteOne type is used to define all the advanced characteristics of a document delete operation that will be added to a bulk operations list. The first document that matches the filter will be deleted. | | The mongoOperationReplaceOne type is used to define all the advanced characteristics of a document replace operation that will be added to a bulk operations list. The first document that matches the filter will be replaced. | | The mongoOperationUpdateAll type is used to define all the advanced characteristics of a document update operation that will be added to a bulk operations list. All the documents that match the selection filter will be updated. | | The mongoOperationUpdateOne type is used to define all the advanced characteristics of a document update operation that will be added to a bulk operations list. The first document that matches the selection filter will be updated. | mongoResult | The mongoResult type is used to find out the result during a search performed in a MongoDB database. | mongoWriteConcern | The mongoWriteConcern type is used to define the level of acknowledgment of receipt requested for the write operations in a stand-alone mongod, in a set of replicas or in fragmented clusters. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|