Reputation: 551
I am new in firebase.I created app that connect to database and create new id in it.
const db = firebase.store();
my db variable is not reachable.
Upvotes: 0
Views: 29
Reputation: 598728
There is no product names store()
in Firebase.
If you're looking for Firestore (for storing documents with fields and values), use firebase.firestore()
.
If you're looking for Cloud Storage for Firebase (so for storing unstructured files), use firebase.storage()
.
Upvotes: 1