Skip to content

Instantly share code, notes, and snippets.

View luqman-v1's full-sized avatar
๐ŸŽฎ
Focusing

luqmannul hakim luqman-v1

๐ŸŽฎ
Focusing
  • Stockbit
  • yogyakarta
  • 13:59 (UTC +07:00)
View GitHub Profile
@luqman-v1
luqman-v1 / Firebase Database API Cheatsheet
Created January 29, 2018 08:08 — forked from odigity/Firebase Database API Cheatsheet
Firebase Database API Cheatsheet
There is no way to store an empty object/array/null value.
There are also no actual arrays. Array values get stored as objects with integer keys.
(If all keys are integers, it will be returned as an array.)
Basically, it's one giant tree of hashes with string keys.
Simply write a value to any location, and the intermediary locations will automatically come into existance.
โ”€โ”€ Classes โ”€โ”€
DataSnapshot : Container for a subtree of data at a particular location.