May 2017
Intermediate to advanced
388 pages
7h 30m
English
You can access all the application data with the Meteor MongoDB shell.
Open another terminal, cd to the app directory, and start the MongoDB shell.
>> meteor mongo
Show all the databases in MongoDB:
>> show dbs
The default database for the app is named meteor; switch to the meteor database:
>> use meteor
Display all collections in the database:
>>show collections
The show collections command will not return any results.
The reason is that we created a collection on the client side only. This collection exists in Minimongo, and it is in the browser's memory. If we refresh the page, the collection and the data will be gone.
In order to create the same collection ...
Read now
Unlock full access