|
|
|
|
MongoDeleteCollection (Function) In french: MongoSupprimeCollection Deletes a collection from a MongoDB database. cntMDB is mongoConnection ... MongoDeleteCollection(cntMDB.Database["CRM"].Collection["product"])
MongoDeleteCollection(gclCollection)
Syntax
<Result> = MongoDeleteCollection(<Collection>)
<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.
Related Examples:
|
Unit examples (WINDEV): Native access to MongoDB
[ + ] This example shows how to use the main functions of native access to MongoDB databases: adding data, reading (searching), modifying and deleting data in the database. The example also shows functions for saving files in the MongoDB GridFS data system.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|