Returns a MongoDB client object for the named MongoDB datasource. Call db(name) on the result to get a database object, and then work with its collections. Define the datasource in Application.cfc (in this.datasources with type="mongodb") or in the ColdFusion Administrator under NoSQL Data Sources.
getMongoService(config)
→ returns any
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.