swift - firebase add value to existing node -


let have int value in under user 5, , want add additional value on top of existing value. retrieve previous value , add in xcode upload new value or there function can call make easier? below value want add

guard let uid = firauth.auth()?.currentuser?.uid else {return}         let points = 5         let reward = [uid : points] 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -