|
|
|
|
|
by imslavko
4051 days ago
|
|
Meteor's security model allows app developer to validate any operation or RPC going through, based on the arguments or userId (by writing JS code). Also, the published set is controlled by publications, allowing to publish only filtered out data with specific fields. Unlike Firebase, Meteor actually allows you to send "first top 20 guest posts from November" as an example. The filtering can happen on the server, before sending the data and the data model usually fits into a sets of documents in set of collections. In Firebase, everything is part of a big subtree that is not filterable (the last time I checked). Firebase is a good choice for keeping your real-time data. But knowing its limitations is as important as knowing its strengths. |
|
We also have limitToFirst(), limitToLast(), startAt(), endAt(), and equalTo() methods to further filter your data.
This allows you to build queries like this:
Please check out our querying docs[1], and let us know if you have any questions![0] https://www.firebase.com/blog/2014-11-04-firebase-realtime-q...
[1] https://www.firebase.com/docs/web/api/query/