PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Deletes a collection from a MongoDB database.
Example
cntMDB is mongoConnection
MyCollection is mongoCollection
MyCollection = cntMDB.Database["CRM"].Collection["product"]
MyCollection.DeleteCollection()
gclCollection is mongoCollection
gclCollection.DeleteCollection()
Syntax
<Result> = <Collection>.DeleteSet()
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurs. ErrorInfo is used to identify the error.
<Collection>: mongoCollection variable
Name of the mongoCollection variable to delete from the MongoDB database.
Component: wd280big.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment