Skip to content

Tag: firebase

Firebase extract name of object

I have a simple question today. I retrieve data from my firebase database: Also I log the results in the console, the following text is what I retrieve: Now my question: I want to access not the id that is in the objects but rather the “name” of the object itself. If you look at the first element:…

Firestore FieldValue.increment()

I’m trying to use firebase.firestore.FieldValue.increment(), but FieldValue.increment() method is not available. I have attached an image contain available methods for firestore. This is my import: Please assist, maybe I am missing something here. Firestore Documentation Image of firebase.firestore.meth…