Manav Sehgal posted on Quora a great comparison between Meteor and Firebase.
Surprisingly, I wasn’t able to find a comparison between MongoDB and Firebase Realtime Database querying, or a “guide for migrating from MongoDB to Firebase”, even though Firebase was built on top of MongoDB.
The Firebase querying API looks quite different from MongoDB’s:
ref.child()instead offind()ref.set()instead ofdb.collection.update()ref.orderBy...()instead ofsort()- pagination is done with startAt and endAt
firebase.database has no support for geospatial queries, regular expressions, aggregations, map-reduce, text search (you need to use Elastic Search for that), capped collections, or even arrays.