Does AngularFire2's database.list hold a reference or actually grab data?
问题 I'm following along the with the basic AngularFire2 docs, and the general format seems to be: const items = af.database.list('/items'); // to get a key, check the Example app below items.update('key-of-some-data', { size: newSize }); My confusion is that in the source code, it seems as though calling database.list() grabs all the data at the listed url (line 114 here) Can anyone help clarify how that works? If it does indeed grab all the data, is there a better way of getting a reference