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
MongoDB functions (prefix syntax)
The following functions are used to manage MongoDB databases (prefix syntax):
<mongoCollection variable>.AddAdds one or more documents into a collection of MongoDB database.
<mongoCollection variable>.DeleteAllDeletes all the documents (corresponding to the specified filter) from a collection of a MongoDB database.
<mongoCollection variable>.DeleteCollectionDeletes a collection from a MongoDB database.
<mongoCollection variable>.DeleteOneDeletes a document from a collection in a MongoDB database.
<mongoCollection variable>.ExecuteCommandRuns a generic command on a MongoDB collection.
<mongoCollection variable>.ExecuteOperationsPerforms MongoDB write operations in bulk. This allows you to avoid network latency issues you would encounter if you performed the operations individually.
<mongoCollection variable>.FindFinds documents in a MongoDB collection.
<mongoCollection variable>.ModifyAllModifies documents in a collection of a MongoDB database.
<mongoCollection variable>.ModifyOneModifies a document in a collection of MongoDB database.
<mongoDatabase variable>.CreateCollectionCreates a collection in a MongoDB database while specifying the options of this collection.
<mongoDatabase variable>.DeteleDatabaseDeletes a MongoDB database as well as its collections.
<mongoDatabase variable>.ExecuteCommandRuns a generic command on a MongoDB database.
<mongoDatabase variable>.InfoReturns information about a MongoDB database.
<mongoGridFS variable>.DeleteFileDeletes a file identified by its name from a MongoDB file system.
<mongoGridFS variable>.DeleteFileByIDDeletes a file identified by its identifier from a MongoDB file system.
<mongoGridFS variable>.GetFileRetrieves (on the local computer) a file identified by its name and found in a MongoDB file system.
<mongoGridFS variable>.GetFileByIDRetrieves (on the local computer) a file identified by its identifier and found in a MongoDB file system.
<mongoGridFS variable>.GetFileInfoUsed to get information about a MongoDB file (gridFS).
<mongoGridFS variable>.ListFileRetrieves the list of MongoDB files found in the MongoDB file system (gridFS).
<mongoGridFS variable>.SendFileCopies a file from the local computer to a MongoDB file system (gridFS).
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help