Skip to content Skip to sidebar Skip to footer
Showing posts with the label Google Cloud Firestore

How To Make The Data From Firestore In To A Global Variable?

How can I make the value return outside the onSnapshot function? function checkIfExisting(){ con… Read more How To Make The Data From Firestore In To A Global Variable?

Is There A Way To Query For A Firestore Collection To Get The Number Of Times A Field's Value Occurs?

What I am trying to do is to query a Collection in such a way that: 1. I can get the number of time… Read more Is There A Way To Query For A Firestore Collection To Get The Number Of Times A Field's Value Occurs?

Asynchronous Firebase Query To Response

I'm trying to get all documents from a firebase collection, create a list and return it on requ… Read more Asynchronous Firebase Query To Response

Google Vision Api Is Not Working After Upload Image To Firebase

I built a image detection mobile app (e.g. Plastic Bottle, Aluminum Can, Milk Jug, etc.) with React… Read more Google Vision Api Is Not Working After Upload Image To Firebase

How To Create A Firestore Safe Document Id Based On A String

After some discussion on my question about base64 not being safe for Firestore IDs here I would lik… Read more How To Create A Firestore Safe Document Id Based On A String

Firestore Rule Failing While Using Get() On Newly Created Documents

Using get() in Firestore rules on a newly created document causes the return value to be false. If … Read more Firestore Rule Failing While Using Get() On Newly Created Documents

Append To An Arary Field In Firestore

I'm using Firebase and Vuejs to create an database element, which has object array inside. Tha… Read more Append To An Arary Field In Firestore

How To Get Documents Without Metadata From Firestore

In firestore there are collections cities, posts and users. posts have documents with reference to … Read more How To Get Documents Without Metadata From Firestore

Firestore Query With Subcollection

Is this a limitation to Firebase or am I doing this all wrong? Everything works until I add the db.… Read more Firestore Query With Subcollection

Firestore Where Clause Doesn't Make The Condition.

in my function I have two where clauses. what I want is to check whether a document exits, where tw… Read more Firestore Where Clause Doesn't Make The Condition.

Firebase: Transaction Read And Update Multiple Documents

With this code I can read and update single document in the transaction. // Update likes in post va… Read more Firebase: Transaction Read And Update Multiple Documents

Is There A Way To Change A Value In All Documents On Firestore?

I'm a beginner creating an mobile app with react-native and firebase. I have a value stored in … Read more Is There A Way To Change A Value In All Documents On Firestore?

How To Save Previous Timestamp To Firebase Firestore

I want to migrate the older data from different system to firestore. below command saves current ti… Read more How To Save Previous Timestamp To Firebase Firestore

Firebase's Update Function Lags Behind Button Click On Browser

I am trying to create a real time voting app in Vue using firebase to store the number of votes. I … Read more Firebase's Update Function Lags Behind Button Click On Browser

Firebase Functions, Admin.database().ref(...).get() Is Not A Function

I am working on an Android Application and am using firebase as the back end for it. I am trying to… Read more Firebase Functions, Admin.database().ref(...).get() Is Not A Function

Database (firestore) Call Is Only Taking The First Value

I want to make a call the database (firestore) to return the data of the products in real time that… Read more Database (firestore) Call Is Only Taking The First Value

Firebase Cloud Functions Check Db For Non-existant Data

I'm looking for how to check if a documents exists in my cloud functions My functions belows wo… Read more Firebase Cloud Functions Check Db For Non-existant Data

Pub Sub Cloud Function - Async Await

Trying to accomplish the following via a scheduled Firebase Function: Fetch Firestore Collection D… Read more Pub Sub Cloud Function - Async Await

How To Update Or Set Property Of Firestore Document After .oncreate Cloud Function Trigger

I'm currently trying to integrate Stripe with my Firebase's Cloud Firestore db through usin… Read more How To Update Or Set Property Of Firestore Document After .oncreate Cloud Function Trigger

Returning Data From Firebase Firestore Async

I have two methods: //authContext.js const getAllUserData = (dispatch) => { return async (… Read more Returning Data From Firebase Firestore Async