Deep links

Navigate to specific MongoDB filter query

Deep linking from other apps or websites

Have you ever wondered if you could find a document in MongoDB by clicking at a link in your web admin or other app? Getting the _id, copying it, pasting into your MongoDB admin was the old way of doing it, right?

Now, you can create direct links using our mingo:// protocol that automatically focus Mingo, open a new tab and execute the command you need.

For example, you could add a button in your web admin’s list of users that will find the user in your DB.

Deep link format:
for connection:
for project:

Formatting notes:

  • connection, database, project and environment should be their deburred lowercased names: 'My project' => 'my-project'
  • query and sort should be encoded with encodeURIComponent (JS) or equivalent
  • collection name is case sensitive (Users != users)
  • query can take simple values and Mingo will use its Quick Search feature to find the matching documents
  • ?useCurrentTab=true prevents opening a new tab and uses the currently focused one

Few examples:

  • mingo://localhost/mydb/documents/Messages/{user: 'j8niTmhsLAQxnxqjD'}/{createdAt: 1}
  • mingo://localhost/mydb/documents/Messages/{type: 'updated'}/{createdAt: 1}
  • mingo://myproject/production/documents/Users/j8niTmhsLAQxnxqjD?useCurrentTab=true

Download Mingo now

Mingo is free for personal use.

More articles

Hidden features

7 hidden features that make Mingo so addictive

Read more
Aggregation builder

Aggregation: simplified and visualized

Read more
Compare & Sync

Compare and sync entire MongoDB databases

Read more

Creating indexes with a breeze

Read more
Deep links

Deep linking from other apps or websites

Read more
Schema Analyzer

Analyze data structure

Read more
Human-readable dates

Querying by dates - the human way

Read more