Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
261 views
in Technique[技术] by (71.8m points)

javascript - firestore - listen to update on the entire collection

I'm using google's firestore and I want to get a live update on the entire collection.

I saw this in the documents: https://cloud.google.com/nodejs/docs/reference/firestore/0.11.x/CollectionReference#onSnapshot

but as far as I understood I have to get a document or to query a range of documents.

how can I listen to changes in the entire collection?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...