How do write structured query to get a deep collection in firebase database

  • 21 December 2022
  • 0 replies

i want to connect my firebase database with my onesignal app. 


i want whenever a new document is created in the sub collection of my database it sould trigger.

but i don’t know how to write structured query to do this. i am new to it please help me.


here are some screenshots of my database:


can i listen to this message sub collection whenever new document is created if yes then how can i write the query for it.


i got stuck here:


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.