I'm implementing cloud-function like features where you can listen to document/data changes for firebase. I used Document-Snapshot
for listening to a specific firestore document. I have 2 questions -
How can I implement same for realtime database? (listening to a specific path) I tried to search something like DataSnapshot.
How can I implement wildcard feature in case of both? ( users/{userid}
listens for all the documents under users
collection )