7

I know I can query CollectionName.find().fetch() in the browser's JS console. Are there other tools that are the equivalent of a GUI admin tool for all the browser's local minimongo storage ?

Dean Radcliffe
  • 2,194
  • 22
  • 29

7 Answers7

10

You can either use a server-side privileged admin solutions like Houston or any other MongoDB admin interface.

If you want to query data on the client for a quick inspection, you can use console.table:

console.table(Tasks.find().fetch())
imslavko
  • 6,596
  • 2
  • 34
  • 43
5

Mongol does this, FTW, thanks to Max Savin.

Dean Radcliffe
  • 2,194
  • 22
  • 29
  • Yes this pluggin works well but Mongol bypass the insecure package and shows all entities so it's not a real `browser's local minimongo storage` view – Ser Nov 02 '15 at 15:22
3

Also I noticed no one has mentioned it but there is also for chrome a 'Meteor DevTools' extension that you can add to chrome tools. Once your meteor project is running you can see in chrome tool a tab called 'Meteor' that will show you what MiniMongo has.

Jose
  • 1,959
  • 20
  • 21
1

There is a open source MongoDB management tool called Robomongo — which is very efficient and useful.

Gemcode
  • 121
  • 12
  • 1
    Minimongo is a client-side implementation of MongoDB that runs completely in the user's browser - so Robomongo unfortunately won't work – user3413723 Apr 14 '16 at 22:09
1

There is an awesome atmosphere package meteor toys that shows the subscribed data on minimongo. It also allows to add, edit or delete data on the go. very handy.

Also, meteor toys may not work with latest meteor update (1.6.1+). So, I found a light package that does the same called constellation.

You can choose from anyone. It will surely help debugging on minimongo easier.

Community
  • 1
  • 1
Ashish Agrawal
  • 371
  • 1
  • 4
  • 17
1

You can use the Chrome plugin Meteor MiniMongo Explorer, it's very useful and show you every collections/documents you have currently on your MiniMongo

Pro compared to Mongol

You don't need to add any package to your meteor project to works

Arthur
  • 4,870
  • 3
  • 32
  • 57
1

Open the console and do it:

Meteor.connection._mongo_livedata_collections[collectionName].find().fetch()

My current Meteor's version is 1.8.1. I don't know it is possible to do the same on the older ones.