You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for making this library. I'm working on a GAS project and I'm glad that there is Firestore now (I was puzzled when I had to choose between MongoDB and Firebase Realtime Database - MongoDB is not realtime, no GAS support, while Firebase Realtime Database is totally sucked)
@piavgh it's not real time but it might help: on the Google app scripts console go to edit > current project's triggers - there you can configure the function to run every X (even as often as once a minute).
Hope it helps :)
Hey @piavgh, glad you're interested in the library!
This library doesn't currently have realtime update support. It looks like the Firestore REST API does support realtime updates, as seen here under the firestore.projects.databases.documents.listen group.
If you want to take a look through that reference and make a PR adding realtime support, that would be awesome! In the meantime, perhaps @willianwelbert's idea would work for your use case.
Hi @grahamearley ,
Thank you for making this library. I'm working on a GAS project and I'm glad that there is Firestore now (I was puzzled when I had to choose between MongoDB and Firebase Realtime Database - MongoDB is not realtime, no GAS support, while Firebase Realtime Database is totally sucked)
I checked your document but I can't find how to listen for realtime updates https://firebase.google.com/docs/firestore/query-data/listen
How can I do it with this library? Or if this library can't handle it yet, is there any way to do it manually with GAS?
Thank you.
The text was updated successfully, but these errors were encountered: