Top "Google-cloud-firestore" questions

Cloud Firestore is an auto-scaling real-time document database for storing, syncing, and querying data for mobile, web and server development.

What is Firebase Firestore 'Reference' data type good for?

I'm just exploring the new Firebase Firestore and it contains a data type called reference. It is not clear to …

javascript firebase google-cloud-firestore
Firestore query subcollections

I thought I read that you can query subcollections with the new Firebase Firestore, but I don't see any examples. …

firebase google-cloud-firestore
How to update a single firebase firestore document

After authenticating i'm trying to lookup a user document at /users/, then i'd like to update the document with data …

firebase google-cloud-firestore
How to add Document with Custom ID to firestore

Is there any chance to add a document to firestore collection with custom generated id, not the id generated by …

javascript firebase google-cloud-firestore
How to check if a cloud firestore document exists when using realtime updates

This works: db.collection('users').doc('id').get() .then((docSnapshot) => { if (docSnapshot.exists) { db.collection('users').doc('id') .onSnapshot((…

javascript google-cloud-firestore
firebase.firestore() is not a function when trying to initialize Cloud Firestore

When I try to initialize Firebase Cloud Firestore, I ran into the following error: Uncaught TypeError: WEBPACK_IMPORTED_MODULE_0_firebase.…

javascript firebase google-cloud-firestore
Google Firestore: Query on substring of a property value (text search)

I am looking to add a simple search field, would like to use something like collectionRef.where('name', 'contains', 'searchTerm') …

firebase google-cloud-firestore
Separate dev and prod Firebase environment

I am considering using Firebase as MBaaS, however I couldn't find any reliable solution to the following problem: I would …

firebase google-cloud-firestore production-environment mbaas
type 'List<dynamic>' is not a subtype of type 'List<Widget>'

I have a snippet of code which I copied from Firestore example: Widget _buildBody(BuildContext context) { return new StreamBuilder( stream: _…

firebase flutter dart google-cloud-firestore
Missing or insufficient permissions when writing to Firestore using field in access rules

I am getting an error when attempting to write to Firestore. I am attempting to use a field containing the …

firebase firebase-security google-cloud-firestore