Top "Google-cloud-firestore" questions

Cloud Firestore is an auto-scaling real-time document database for storing, syncing, and querying data for mobile, web and server development.

Is It Possible To Get The ID Before It Was Added?

I know that in Realtime Database I could get the push ID before it was added like this: DatabaseReference databaseReference= …

firebase google-cloud-platform google-cloud-firestore
How do I convert a Firestore date/Timestamp to a JS Date()?

I am trying to convert the below date to a javascript Date() object. When I get it back from the …

javascript firebase google-cloud-firestore
Query firestore database for document id

I want to query a firestore database for document id. Currently I have the following code: db.collection('books').where(…

javascript firebase google-cloud-firestore
Query a single document from Firestore in Flutter (cloud_firestore Plugin)

I want to retrieve data of only a single document via its ID. My approach with example data of: TESTID1 { …

firebase dart flutter google-cloud-firestore querying
How to run a geo "nearby" query with firestore?

Does the new firestore database from firebase natively support location based geo queries? i.e. Find posts within 10 miles, or …

firebase google-cloud-firestore
Firestore get all docs and subcollections of root collection

Say I have this kind of structure A (collection): { a (doc): { name:'Tim', B (collection):{ b (doc): { color:'blue' } } } } where …

firebase google-cloud-firestore
Difference between set with {merge: true} and update

In Cloud Firestore there are three write operations: 1) add 2) set 3) update In the docs it says that using set(object, {…

database firebase google-cloud-firestore
How to add subcollection to a document in Firebase Cloud Firestore

The documentation does not have any examples on how to add a subcollection to a document. I know how to …

java android ios firebase google-cloud-firestore
Firestore - How to get document id after adding a document to a collection

Is there a way to acquire the document id that was generated after adding a document to a collection? If …

firebase google-cloud-firestore