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

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()`

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

Unable To Subscribe After Forkjoin

I want to perform some firebase operation inside a loop in angular. When I send an HTTP request to … Read more Unable To Subscribe After Forkjoin

How I Get All Subcollection In Document In Collection

i looking for document talk about this my problem but it look like quite quite a few i have one col… Read more How I Get All Subcollection In Document In Collection

How To Compare Firebase Timestamps?

I have cloud function code code like this: console.log(`ts: ${(element.get('expire') as adm… Read more How To Compare Firebase Timestamps?

Angular Firestore Display A Button Depending Of A Returned Boolean Which Checks If An Firestore Document Exist

Requested behaviour: Displaying a button in an Angular view depending on a returned boolean of an … Read more Angular Firestore Display A Button Depending Of A Returned Boolean Which Checks If An Firestore Document Exist

How To Add Or Save From Web Form (javascript) Entry As Geopoint Type In Firebase Firestore

Hi i have a web form which collect the following: -cafe name -latitude -longitude of its location. … Read more How To Add Or Save From Web Form (javascript) Entry As Geopoint Type In Firebase Firestore

Typeerror: Cannot Read Property 'todate' Of Undefined

I have a firebase project, I am getting the below error log when running a firebase function, below… Read more Typeerror: Cannot Read Property 'todate' Of Undefined

Get Document Id When Searching With Where Clause Firestore

I want to be able to get the document id of a document that I have just queried with a where clause… Read more Get Document Id When Searching With Where Clause Firestore

Firebase Return Onsnapshot Promise

I'm using firebase/firestore and I'm looking a way to return promise of snapshot. onlineUse… Read more Firebase Return Onsnapshot Promise

Is There A Way To Update A Collectiongroup In Cloud Function

I'm building a chat app. When a user makes an update on their local profile I'd like to us… Read more Is There A Way To Update A Collectiongroup In Cloud Function

React + Firestore : Return A Variable From A Query

I'm learning React and Firestore currently and am a bit stuck. I'm trying to retrieve a use… Read more React + Firestore : Return A Variable From A Query

How To Make Get Request Firebase Cloud Functions

I am developing an app and I want to send my user coordinate from firestore to locationiq.com to ge… Read more How To Make Get Request Firebase Cloud Functions

Firestore Conditional Where Clause Using Modular Sdk V9

How to perform a query with conditional where() clause using Firebase Modular SDK (v9)? Example que… Read more Firestore Conditional Where Clause Using Modular Sdk V9

Uncaught Firebaseerror: Function Documentreference.set() Called With Invalid Data. Unsupported Field Value: Undefined

I'm creating a e-commerce with Vue & Firebase. Trying to add some cart information from the… Read more Uncaught Firebaseerror: Function Documentreference.set() Called With Invalid Data. Unsupported Field Value: Undefined

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 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

Firebase Firestore Works With Real Database But Not Emulator

I'm using Firebase and have started trying to run a local development instance using the Fireba… Read more Firebase Firestore Works With Real Database But Not Emulator

How To Fetch Data From Firestore And Inside It Fetch Another Data (by Reference)

I can't figure out how to fetch data from firestore when i have in data model reference (id) to… Read more How To Fetch Data From Firestore And Inside It Fetch Another Data (by Reference)

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