There are times when we might need more control over our MongoDB data source. In cases like these, it's possible to execute a MongoDB query using BeanShell. This allows us to call up the MongoDB JDBC classes to execute the query manually.
To get ready for this recipe, you will have to make sure your MongoDB instance is running.
We are going to add a new advanced data source: