-
-
Save topspinppy/922f9d3a72f30bfa46098e6840cc03a9 to your computer and use it in GitHub Desktop.
This file contains 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
var firebaseref = firebase.database().ref(); //อยากจะเดินไปตรงไหนก็เดิน ถ้าจะเดินไปตรง ROOT สุดก็ไม่ต้องใส่อะไรเลย แต่ถ้าจะเดินไปโหนตต่างๆก็ไล่ลำดับไปเช่น (root/chid1/child2) | |
firebaseref.child("1").set("2"); //อยากจะset ให้มี childnode ชื่อเป็นอะไรก็ใส่ตรงช่อง 1 ใส่ค่าให้ childnodes ช่อง 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment