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

Google Cloud Function Environmnet Timing Out On Every Functions

Edit: I had to rollback to : npm install firebase-functions@v1.10 --save Because apparently v2.0.0… Read more Google Cloud Function Environmnet Timing Out On Every Functions

Firebase Firestore Query An Array Of More Than 10 Elements

[ I am trying to query the post-collection with the user settings but the settings is an array of m… Read more Firebase Firestore Query An Array Of More Than 10 Elements

React Js - Select, Why I'm Getting Double Values Printed And Stored In The Database

Okay I have a question why when someone clicks on multiple selects answers it does store all the va… Read more React Js - Select, Why I'm Getting Double Values Printed And Stored In The Database

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

How Does A Firestore Onsnapshot Listens For Changes In React-native?

I have seen in multiple places people placing the listener code inside the componentDidMount, howev… Read more How Does A Firestore Onsnapshot Listens For Changes In React-native?

Filter A Collection Group Query In Firestore

I have a database structure as follows (simplified for purposes of this question): Collection: item… Read more Filter A Collection Group Query In Firestore

How To Add A Collection Inside Document On Firestore? React Native

async componentDidMount() { firebase.firestore().collection('profiles').get().then(fun… Read more How To Add A Collection Inside Document On Firestore? React Native

In What Date Format Should I Store In The Firestore To Create A Dynamic Report Of Per Month?

I have a project to store the vaccination status of the users such as their 1st dose and 2nd dose. … Read more In What Date Format Should I Store In The Firestore To Create A Dynamic Report Of Per Month?

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

Node.js Firestore Error - Cannot Encode Value

I'm using Discord.js to make a Discord bot, and I'm trying to use Cloud Firestore to keep a… Read more Node.js Firestore Error - Cannot Encode Value

How To Get The Records Which Are Offline In Firestore

I want to go offline and add 1 entry in cities collection using this code below: firebase.firestor… Read more How To Get The Records Which Are Offline In Firestore

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

How To Get A Javascript Date Object From The New `firebase.firestore.fieldvalue.servertimestamp()`

Firebase Firestore recently changed how they manage timestamps, and I'm unable to retrieve a da… Read more How To Get A Javascript Date Object From The New `firebase.firestore.fieldvalue.servertimestamp()`

How To Resolve/return A Foreach Function In Cloud Functions

I have the following (sample) array: pages = [ { 'name' : 'Hello', 'id'… Read more How To Resolve/return A Foreach Function In Cloud Functions

Passing Props Down In Svelte

I'm trying to implement a fairly standard blog app using Svelte, Svelte Routing and Firestore, … Read more Passing Props Down In Svelte

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

Firebase: How To Submit Form Data To Different Collections?

I have one form. One of the fields in the form is a Field Array - for repeatable fields. Apart from… Read more Firebase: How To Submit Form Data To Different Collections?

Cloud Firestore: Add Collection And Sub Collection In One Go

Reading the documentation I can't see a way if this is possible in a sensible way. I'm tryi… Read more Cloud Firestore: Add Collection And Sub Collection In One Go

How Do I Filter The Data In Documents In Firebase In Js And Get Promiseresult In A Promise

How do I get the PromiseResult in JS Here's the code I tried: total_amount = db.collection(&#… Read more How Do I Filter The Data In Documents In Firebase In Js And Get Promiseresult In A Promise

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?