Querying

Retrieve, sort, and filter data from either database through queries:

Realtime Database Cloud Firestore
Deep queries with limited sorting and filtering functionality:
  • You can only sort or filter on a property, not sort and filter on a property, in a single query.
  • Queries are deep by default. They always return the entire subtree.
Indexed queries with compound sorting and filtering:
  • You can chain filters and combine filtering and sort on a property in a single query.
  • Write shallow queries for sub collections; you can query subcollections within a document instead of an entire collection, or even an entire document.
  • Queries are indexed by default. Query performance is proportional to the size of your result set, not your dataset.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset