...
You can use the runCommand() to perform the following:
Administrative tasks: You can check Server Check server status, do database profiling, replication-related operations, user management, and more.
Access internal commands: You can access Access and execute the internal commands.
Diagnostic Commands: You can execute Execute diagnostic commands to gather information about the database, collections, indexes, or server status.
...
Create employee details collection (collection indicates a table in MongoDB)
Insert the employee data into the collection
Retrieve the employee data
Step 1: Create: Configure the Execute Snap with the create
command to create a collection named employees_data with id, name, and salary fields.
...
Step 2: Insert: Configure the Execute Snap with the insert
command to insert three records of employees (id:1, id:2, id:3) with their salary details.
...
Step 3: Find: Configure the Execute Snap with the find
command to retrieve the employee details.
...