ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / Big Data / Managing Mongo files
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Remark: These functions are also available in prefix syntax (MongoDB functions (prefix syntax)).
The following functions are used to manage MongoDB databases and GridFS:
MongoAddAdds one or more documents into a collection of MongoDB database.
MongoAggregationPipelineUsed to retrieve documents that enter a multi-stage pipeline and are transformed into aggregated results.
MongoCreateCreates a connection to a MongoDB server or cluster.
MongoCreateCollectionCreates a collection in a MongoDB database while specifying the options of this collection.
MongoDeleteAllDeletes all the documents (corresponding to the specified filter) from a collection of a MongoDB database.
MongoDeleteCollectionDeletes a collection from a MongoDB database.
MongoDeleteDatabaseDeletes a MongoDB database as well as its collections.
MongoDeleteOneDeletes a document from a collection in a MongoDB database.
MongoExecuteCommandRuns a generic command on a MongoDB database or on a MongoDB collection.
MongoExecuteOperationsPerforms MongoDB write operations in bulk. This allows you to avoid network latency issues you would encounter if you performed the operations individually.
MongoFindFinds documents in a MongoDB collection.
MongoGridFSDeleteFileDeletes a file identified by its name from a MongoDB file system.
MongoGridFSDeleteFileByIDDeletes a file identified by its identifier from a MongoDB file system.
MongoGridFSGetFileRetrieves (on the local computer) a file identified by its name and found in a MongoDB file system.
MongoGridFSGetFileByIDRetrieves (on the local computer) a file identified by its identifier and found in a MongoDB file system.
MongoGridFSGetFileInfoAllows you to get information about a MongoDB file (gridFS).
MongoGridFSListFileRetrieves the list of MongoDB files found in the MongoDB file system (gridFS).
MongoGridFSSendFileCopies a file from the local computer to a MongoDB file system (gridFS).
MongoInfoReturns information about a MongoDB database.
MongoModifyAllModifies documents in a collection of a MongoDB database.
MongoModifyOneModifies a document in a collection of MongoDB database.
The following types of variables are used to handle the MongoDB databases and GridFS::
mongoCollectionThe mongoCollection type is used to define the advanced characteristics of a collection in a database of a MongoDB server.
mongoCollectionOptionThe mongoCollectionOption type is used to define the advanced characteristics of collection options in a MongoDB database.
mongoConnectionThe mongoConnection type is used to define the advanced characteristics of a connection to a MongoDB server.
mongoDatabaseThe mongoDatabase type is used to define the characteristics of a database for a MongoDB server.
mongoDatabaseInfoThe mongoDatabaseInfo type is used to define the advanced characteristics of information about a MongoDB database.
mongoFindOptionThe mongoFindOption type is used to define the advanced characteristics of a search in a MongoDB database.
mongoGridFSThe mongoGridFS type is used to define the advanced characteristics of a file system for a MongoDB database.
mongoGridFSFileInfoThe mongoGridFSFileInfo type is used to define the advanced characteristics of a file in a MongoDB database.
mongoOperationThe mongoOperation type is used to define the different operations to be performed in bulk. These operations are stored in an array of mongoOperation variables.
mongoOperationAddThe mongoOperationAdd type is used to define all the advanced characteristics of a document add operation in bulk.
mongoOperationDeleteAllThe 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.
mongoOperationDeleteOneThe 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.
mongoOperationReplaceOneThe 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.
mongoOperationUpdateAllThe 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.
mongoOperationUpdateOneThe 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.
mongoResultThe mongoResult type is used to find out the result during a search performed in a MongoDB database.
mongoWriteConcernThe 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.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help