Skip to main content

Questions tagged [google-cloud-firestore]

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

google-cloud-firestore
21 votes
4 answers
16k views

How to list subcollections in a Cloud Firestore document

Say I have this minimal database stored in Cloud Firestore. How could I retrieve the names of subCollection1 and subCollection2? rootCollection { aDocument: { someField: { value: 1 }, ...
skylize's user avatar
  • 1,411
1 vote
1 answer
1k views

How do I switch/add Firestore to an existing firebase project

I have an existing Firebase project with an empty real time database. I want to switch/add the new Firestore beta but I don't see any option in the dashboard to add it. If I click on Database in the ...
MonkeyBonkey's user avatar
  • 47.3k
23 votes
6 answers
31k views

Nested arrays are not supported

The new Firebase database Firestore says Function DocumentReference.set() called with invalid data. Nested arrays are not supported. When trying to save the following object: { "desc" : "Blala"...
ProblemsOfSumit's user avatar
8 votes
2 answers
4k views

angular + firestore: how to allow public read access to a document

I am a student developer trying out the new Firestore in my angular app and got stuck on the security rules. what i'm trying to achieve: display a firestore document in an angular view using ...
Jacky Brown's user avatar
1 vote
2 answers
820 views

Update object in Firebase Cloud firestore use Angular 4

Hi I be working with firebase and angular 4 in this new thing is firestore, I try update one of the documents but I have this error. And this is my componet If I remove the interfaces I mean if ...
Alfredo Izquierdo's user avatar
13 votes
8 answers
6k views

Cloud FireStore minimum deployment target

I'm getting the following error when trying to enable an app with Cloud FireStore: [!] Unable to satisfy the following requirements: - `Firebase/Firestore` required by `Podfile` Specs satisfying ...
Blue's user avatar
  • 1,418
1 vote
1 answer
756 views

Creating secure REST-like API with firestore

I'd like to store one-to-many relationship in firebase firestore. Let's say I have an author, and there are books belonging to this author. I could store it in a nested relationship: author/ ...
fodma1's user avatar
  • 3,535
365 votes
32 answers
554k views

firestore: PERMISSION_DENIED: Missing or insufficient permissions

I am getting the Error gettingdocuments.com.google.firebase.firestore.FirebaseFirestoreException: PERMISSION_DENIED: Missing or insufficient permissions. for the below code on else statement ...
SUHAS REKHU's user avatar
  • 3,723
0 votes
1 answer
154 views

google firestore - get DuplicateFileException

Please give me advice. I've just followed this guide and from this line compile 'com.google.cloud:google-cloud-firestore:0.25.0-beta' nothing is working. Error:Execution failed for task ':app:...
Ivan Vovk's user avatar
  • 999
3 votes
2 answers
853 views

How does the new Firebase Firestore DocumentDb model large subcollections

In the firebase realtime database, you would normally move large subcollections out into a separate collection of its own. For instance, if a user might have a large number of followers, the data ...
MonkeyBonkey's user avatar
  • 47.3k
1 vote
1 answer
259 views

Does Cloud Python lib in GAE use caching or memcache for access to Cloud Firestore data?

Setup: Google App Engine application on Python standard environment. Currently, the app uses the NDB library to read/write from its Datastore. It uses async tasklets for parallel, asynchronous reads ...
Ani's user avatar
  • 1,447
6 votes
1 answer
5k views

Limitations on Cloud Firestore transactions

I have read the docs regarding transactional update operations on Firestore. According to Quotas and Limits there are only two limits with regards to transactions: Maximum size for a transaction:...
Ani's user avatar
  • 1,447
14 votes
2 answers
10k views

Firestore security rules for public and private fields

As for security rules of Firebase Realtime Database, both public and private data can exist in the same tree using such as the following rule. However, when using Firestore, it doesn't seem to enable ...
miz-k's user avatar
  • 975
4 votes
1 answer
1k views

Cloud Firestore - Get Documents From Multiple Locations

When the user checks his friends list in my app, I want the app to go through each user in the list and retrieve his up to date information from the Cloud Firestore. This is my current code: final ...
Tal Barda's user avatar
  • 4,187
16 votes
1 answer
17k views

Exporting Cloud Firestore data with Datastore Exporting & Importing service? [duplicate]

I have noticed a new Datastore feature in Beta, Exporting and Importing service. As far as I understand, Firestore runs on Datastore under the hood. Will it be possible to use this new Exporting and ...
Ani's user avatar
  • 1,447

15 30 50 per page