ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / Big Data / Managing Mongo data files
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Constants for managing MongoDB databases
Display only constants used by prefix syntaxes
The following constants are used by the Mongoxxx functions:
ConstantDetailsFunction
mwcDefaultMinimum number of nodes required to have acknowledged processing to consider the write performed: only one node is required to have acknowledged processing for the write to be considered performed.mongoWriteConcern type
mwcMajorityMinimum number of nodes required to have acknowledged processing to consider the write completed: the majority of nodes must have acknowledged processing for the write to be considered completed.mongoWriteConcern type
mwcUnacknowledgedMinimum number of nodes that must have acknowledged processing to consider the write completed: No node must have acknowledged processing for the write to be considered completed. Caution, no error is returned in this case.mongoWriteConcern type
mwcTagMinimum number of nodes that must have acknowledged processing to be considered as having written: the number of nodes is defined in a pre-configuration defined on the server.mongoWriteConcern type
mongoAddIfNotFoundUsed to add a document if it does not exist in the collection.MongoModifyAll
MongoModifyOne
mongoContinueIfErrorUsed to add the next document even if the previous document triggered an error.MongoAdd
mongoReturnValueAfterUsed to return the document after modification. By default, if this constant is not used, the document returned corresponds to the document before modification.MongoModifyOne
mongoWithoutValidationDoes not check the document structure.MongoAdd
MongoModifyAll
The following constants are used by the Mongoxxx functions in prefix syntax:
ConstantDetailsFunction
mwcDefaultMinimum number of nodes required to have acknowledged processing to consider the write performed: only one node is required to have acknowledged processing for the write to be considered performed.mongoWriteConcern type
mwcMajorityMinimum number of nodes required to have acknowledged processing to consider the write completed: the majority of nodes must have acknowledged processing for the write to be considered completed.mongoWriteConcern type
mwcUnacknowledgedMinimum number of nodes that must have acknowledged processing to consider the write completed: No node must have acknowledged processing for the write to be considered completed. Caution, no error is returned in this case.mongoWriteConcern type
mwcTagMinimum number of nodes that must have acknowledged processing to be considered as having written: the number of nodes is defined in a pre-configuration defined on the server.mongoWriteConcern type
mongoAddIfNotFoundUsed to add a document if it does not exist in the collection.<mongoCollection variable>.ModifyAll
<mongoCollection variable>.ModifyOne
mongoContinueIfErrorUsed to add the next document even if the previous document triggered an error.<mongoCollection variable>.Add
mongoReturnValueAfterUsed to return the document after modification. By default, if this constant is not used, the document returned corresponds to the document before modification.<mongoCollection variable>.ModifyOne
mongoWithoutValidationDoes not check the document structure.<mongoCollection variable>.Add
<mongoCollection variable>.ModifyAll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help