Unity and Firebase reading new data

Hi,
I am working with Firebase for my Unity app and I would like to know if there is a code that reads new data that gets stored in the Firebase database?

ie: user adds a comment, then the comment gets stored in the database. then other users gets to read the comment that just got added.

I am not asking for a full code. If you can provide me a line of code that allows me to read new data in the database that would be really great.

Thanks!

You can set trigger on the database so that every time database is updated it fetch the new value added to a database.

For code and other stuff refer this: Realtime Database triggers  |  Cloud Functions for Firebase