How to create an Array in Firebase realtime database in iOS using swift
note : I want to be able to append new elements without getting array value first an add element locally then setting it to database .
How to create an Array in Firebase realtime database in iOS using swift
note : I want to be able to append new elements without getting array value first an add element locally then setting it to database .
This should be achieved easily:
let ref = storageRef.child("your_child")
let array = ["First", "Second", "Third", "Fourth"]
ref.setValue(array)