|
|
|
|
- Overview
- Handling MongoDB data in WLanguage
- Handling a MongoDB database
- Handling GridFS
MongoDB is a document-oriented NoSQL database. MongoDB stores documents in JSON format in "collections". A collection is a set of documents. MongoDB proposes advanced methods for finding these documents. MongoDB proposes "map reduce". GridFS is a distributed file system managed by MongoDB. Handling MongoDB data in WLanguage Handling a MongoDB database Several WLanguage types and functions allow you to handle a MongoDB database. These functions are used to: - Create a connection, a database or a collection (MongoCreate, MongoCreateCollection, etc.).
- Add, edit or delete documents in a MongoDB database (MongoAdd, MongoModifyOne, MongoModifyAll, MongoDeleteOne, etc.).
- Delete a database, a collection (MongoDeleteDatabase, MongoDeleteCollection).
- Perform a search (MongoFind) or run a command (MongoExecuteCommand).
... The following functions allow you to handle the MongoDB databases:
| | MongoAdd | Adds one or more documents into a collection of MongoDB database. | 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. | MongoFind | Finds documents in a MongoDB collection. | 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 prefixed functions can also be used: Handling GridFS Several WLanguage types and functions allow you to handle the GridFS file system. These functions start with mongoGridFS:
The corresponding prefixed functions are:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|