Created
December 21, 2015 18:22
-
-
Save notdrone-1/892585c527ac2ebd41ff to your computer and use it in GitHub Desktop.
firebas write/remove methods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setValue() writes/ replces data at the specified path replacig any data | |
at that path | |
updateChildren() write to specific childern of a parent node but without overwriting | |
other child nodes | |
push() add to list of data a. A unique id is generated by push depending | |
on the timestamp | |
runTransaction() used in ase of a counter, when seeralpeople update the same list | |
removeValue() allows to remove data ata specfic location |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment