How to use firebase item key to view or update one item


#1

How are you guys,

I have small problem with using firebase functions

I don’t know how can I use item key to view or update this item

For example: I have this tree list item
MyApplication
---- items
----------- (((key)))
------------------- name: “item1”
------------------- size: “big”

I have the key but i don’t know how can I use it, any helps please?


#2

Any helps guys ! @isaacsanchez @SigmundFroyd


#3

Ok, thanks

I could find the solution from this link


#4

How do you get the key? Please teach me thankyou.


#5

You can get the key by using this way

List.ForEach(item=>{alert(item.$key);});