I have a Firebase record \"searches: 0\" for each user. On some event, I\'d like to add 1 to what the current count is. I\'ve gotten this far, but for some reason, it\'s not
ref.transection(function(queue_length) { if(queue_length|| (queue_length === 0)) { queue_length++; } return queue_length; })
You can use like this ;)