Extension::MongoDBListCollections Method
Syntax
.ListCollections as c ()
Description
Get collections in the current database.
dim mongo as extension::MongoDB = extension::MongoDB::Create("mongodb://localhost:27017","Northwinds")
? mongo.ListCollections()
= ["Categories","Region","Orders","Shippers","Employees","Suppliers","Products","Territories","EmployeeTerritories","Customers"]Get the names of all the collections in a MongoDB Database.