PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Handling MongoDB data in WLanguage
  • Handling a MongoDB database
  • Handling GridFS
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
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, ...).
  • Add, modify, delete documents in a MongoDB database (MongoAdd, MongoModifyOne, MongoModifyAll, MongoDeleteOne, ...).
  • 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:
Versions 22 and later
MongoAdd
New in version 22
MongoAdd
MongoAdd
Adds one or more documents into a collection of MongoDB database.
Versions 22 and later
MongoCreate
New in version 22
MongoCreate
MongoCreate
Creates a connection to a MongoDB server or cluster.
Versions 22 and later
MongoCreateCollection
New in version 22
MongoCreateCollection
MongoCreateCollection
Creates a collection in a MongoDB database while specifying the options of this collection.
Versions 22 and later
MongoDeleteAll
New in version 22
MongoDeleteAll
MongoDeleteAll
Deletes all the documents (corresponding to the specified filter) from a collection of a MongoDB database.
Versions 22 and later
MongoDeleteCollection
New in version 22
MongoDeleteCollection
MongoDeleteCollection
Deletes a collection from a MongoDB database.
Versions 22 and later
MongoDeleteOne
New in version 22
MongoDeleteOne
MongoDeleteOne
Deletes a document from a collection in a MongoDB database.
Versions 22 and later
MongoDeteleDatabase
New in version 22
MongoDeteleDatabase
MongoDeteleDatabase
Deletes a MongoDB database as well as its collections.
Versions 22 and later
MongoExecuteCommand
New in version 22
MongoExecuteCommand
MongoExecuteCommand
Runs a generic command on a MongoDB database or on a MongoDB collection.
Versions 22 and later
MongoFind
New in version 22
MongoFind
MongoFind
Finds documents in a MongoDB collection.
Versions 22 and later
MongoInfo
New in version 22
MongoInfo
MongoInfo
Returns information about a MongoDB database.
Versions 22 and later
MongoModifyAll
New in version 22
MongoModifyAll
MongoModifyAll
Modifies documents in a collection of a MongoDB database.
Versions 22 and later
MongoModifyOne
New in version 22
MongoModifyOne
MongoModifyOne
Modifies a document in a collection of MongoDB database.

Handling GridFS

Several WLanguage types and functions allow you to handle the GridFS file system. These functions start with mongoGridFS:
Versions 22 and later
MongoGridFSDeleteFile
New in version 22
MongoGridFSDeleteFile
MongoGridFSDeleteFile
Deletes a file identified by its name from a MongoDB file system.
Versions 22 and later
MongoGridFSDeleteFileById
New in version 22
MongoGridFSDeleteFileById
MongoGridFSDeleteFileById
Deletes a file identified by its identifier from a MongoDB file system.
Versions 22 and later
MongoGridFSGetFile
New in version 22
MongoGridFSGetFile
MongoGridFSGetFile
Retrieves (on the local computer) a file identified by its name and found in a MongoDB file system.
Versions 22 and later
MongoGridFSGetFileById
New in version 22
MongoGridFSGetFileById
MongoGridFSGetFileById
Retrieves (on the local computer) a file identified by its identifier and found in a MongoDB file system.
Versions 22 and later
MongoGridFSListFile
New in version 22
MongoGridFSListFile
MongoGridFSListFile
Retrieves the list of MongoDB files found in the MongoDB file system (gridFS).
Versions 22 and later
MongoGridFSSendFile
New in version 22
MongoGridFSSendFile
MongoGridFSSendFile
Copies a file from the local computer to a MongoDB file system (gridFS).
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment