MongoDB is a document database, which means it stores data in JSON like documents
Redash is an open source tool for teams to query, visualize and collaborate. Redash supports SQL, NoSQL, Big Data and API data sources - query your data from different sources to answer complex questions. In this write up, we will use Redash tool to query our NO SQL DB- Mongo DB.
Here are the steps on how to use Redash tool to query the DB
Steps:
Get access to Redash requesting your team
Login to Redash using your credentials
Select the Data source from drop down
You will see list of DB Tables under the selected data source
Write a Query in JSON format and click Execute Button. Remember, No-SQL DB always use JSON format as the data is stored as files.
Eg:
You should see the recordsNote/ QA Tip: The results from API can be validated in the Mongo DB here
Comments
Post a Comment