问题
Do they count as downloads and connections to the database when I use the variables root, data or newData?
回答1:
firebaser here
The Firebase Realtime Database only charges you for the amount of data that is stored, and the bandwidth that is used sending data to various clients and servers. Data that is read in the database rules is not charged.
来源:https://stackoverflow.com/questions/61835251/do-firebase-rules-snapshots-affect-billing