All Questions
Tagged with google-cloud-firestore database
546
questions
0
votes
1
answer
33
views
Firebase Firestore: Accessing Never-Retrieved Data Offline
I'm using Firebase Firestore v.10 in my web app and want to improve offline functionality. While I understand Firestore allows accessing cached documents offline, is it possible to fetch data (never ...
1
vote
1
answer
34
views
How can I delete a document from firestore while maintaining my database model?
I read this article, and if you find any of my explanations obscure, please refer to it. Basically, the idea is that you assign a last_modified field to each document that gets updated with the date ...
0
votes
0
answers
15
views
How to replicate the production version of a ReactJS web app into the debugging versions of the app using firebase firestore? [duplicate]
I have two versions of a web application built using ReactJS and Firebase. One version is being used in realtime (production) while the other is for debugging purpose.
We have no backup for the ...
0
votes
1
answer
34
views
Firestore-export .bat file to obtain .json files get stuck
I have a .bat file scheduled daily that runs some commands to obtain .json files from my Firestore Database through a key.json file that i got from my project settings, it usually works well, but some ...
0
votes
1
answer
24
views
Why is my Firestore query returning no matches even when there is a clear match?
I have a collection of user's infos and I want to return only documents matching with the user's tag if any. Problem is without a query filter I can get the collection and any document. Once I add a ...
0
votes
0
answers
24
views
How to Handle Dynamic Priority Updates in Firestore [duplicate]
I'm managing a list of 10,000+ items in Firestore, each with a dynamic priority that frequently changes. Initially, I stored items in an array within a single document, but this approach struggles ...
0
votes
2
answers
34
views
Atomically reorder huge list of documents in firestore
Lists can be as large as 100000 documents, sorted with an integer field.
Due to atomic operation limitations of 500 per transaction or batch write, updating the sorting field needs be done in multiple ...
0
votes
1
answer
23
views
Firestore orderBy query
I have an function in my flutter app that searches among users with specified filters and range. Here is the full view of the function;
Future<Query> searchInfluencersWithQuery(
Map<...
0
votes
1
answer
85
views
How do you use the sum() aggregation in swift for firebase?
I need to get the sum of all the totalTime: Int values in the sessions collection in firebase with swift as described here, however I am not sure how to do it and I can't find it in the documentation:
...
-1
votes
1
answer
41
views
Filter data with multiple queries flutter firestore [duplicate]
I have a collection of data in firestore and i want to fetch data from it by date and transactionType.
Firestore collection
From that collection i want to filter data by date and transactionType and ...
0
votes
1
answer
25
views
Efficiently Tracking User Views of Horse Pairs in Firebase - Seeking Better Solutions
I'm building an app where users can check out pairs of horses and vote on their favorites. Each horse is stored as a document in a 'horse' collection, with details like 'race,' 'age,' 'gender,' and '...
0
votes
1
answer
46
views
Which parameters we fill in FirestoreListCollectionIdsParams struct (rust library)
I am querying the Collection Ids so I am using Firestore library (https://docs.rs/firestore/latest/firestore/index.html) the method on db uses struct FirestoreListCollectionIdsParams() as parameter ...
0
votes
1
answer
427
views
Obtaining User Reference for Authenticated User
In my custom FlutterFlow Flutter function, I want to compare a Users document reference (userRef) to the user reference of the currently authenticated user. In the FlutterFlow builder, this comparison ...
-1
votes
1
answer
23
views
problem with displaying data from firebase to a html page
I'm trying to display data from my database. I'm just learning to work with a database. I don't get anything to show when i press the button. Maybe someone can help me.
My js code is:
<script defer ...
0
votes
1
answer
53
views
How can ı data structure in firestore for surveyApp
I'm making a survey application with Kotlin. I tried hard, but I couldn't get the firestore data structure in place. I tried such a way, but I couldn't figure it out. Can anyone help?