Execute mongo command through (meteor) mongo

Meteor mongo

echo ‘db.collection.remove({})’ | meteor mongo

Normal mongo

mongo –eval “db.collection.remove({})”
Advertisements