kumarkiran
kumarkiran10mo ago

Firebase functions

Hi can i calculate the sum of item cost in my cart collection of firebase using buildship
2 Replies
Harini
Harini10mo ago
Hi @kumarkiran yes you can do this. If you are using Rowy for managing your Firestore data then you can easily add a BuildShip extension to the cart collection that listens for any changes on the cart collection and can do a running sum calculation of the cart and post the value to another collection. Relevant docs that will help you get this done: 1) Using BuildShip Extension on Rowy and Rowy extension on BuildShip guide: https://docs.buildship.com/trigger-nodes/rowy-trigger 2) Connecting BuildShip to you Firestore project and make updates to it: https://docs.buildship.com/tutorials/firebase-project#option-2-connecting-to-your-own-firebase-project
Rowy Trigger – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Connecting to your Firebase Project – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
kumarkiran
kumarkiran10mo ago
Thank you i am going to try it out