javascript - Track and count firebase calls -


i looking way can count user firebase calls made user node in firebase or it's child nodes. firebase structure looks below:

users/uid1/xyz - user 1 users/uid2/abc - user 2 

is there way count calls made web app access uid1 node or it's below child nodes done read , write operation user 1.

there no public api count number of firebase api calls. wrap api own function counting.

var ref = firebase.database().ref(); function updateuser(uid, userobj) {     ref.child('users').child(uid).set(userobj);     ref.child('userupdatecount').transaction(function(currentvalue) {         return (currentvalue || 0) + 1;     }); } 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -