Mongodb
Requires the MongoDB integration to be set up
// get connection
const client = await libs.mongodb.get().connect();
// get collection
const db = client.db('db_name');
const collection = db.collection('collection_name');
// do what you want...
// to close connection
await client.close();
Last modified 2yr ago