简体   繁体   中英

How to dynamically listen for an event in firestore?

I want to listen for the changes on a node as follows.

organizations/{org_slug}/projects/{pro_slug}/calculations/{calc_slug}

I am able to do this in the firebase cloud function, is it possible to implement the same method in the node js?

The client SDKs don't have the ability to use a wildcard on any path component. If you need to listen to changes to a document, you must be able to build an exact path to it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM