bille
bille2d ago

bille - I am looking for a Firestore example wh...

I am looking for a Firestore example where I can query the database, return an array of documents and iterate through them. In some cases, I have a collection containing documents and each document has a subcollection with documents. I would like to iterate through the top-level documents and then iterate through the subcollection documents. I'd be looking for specific fields and generate a report. Any direction in finding appropriate tutorials?
3 Replies
Gaurav Chadha
Gaurav Chadha2d ago
Hi @bille you can query using Firestore Collection query node - https://docs.buildship.com/buildship-tables#collection-query and itterate it through loop node both for collectiona nd subcollections.
BuildShip Tables – 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.
Gaurav Chadha
Gaurav Chadha2d ago
Also, you can give your usecase as a prompt to BuildShip Tool to generate a workflow for this - https://www.buildship.tools/
BuildShip Tools | Prompt, Build, Deploy MCP-ready tools for AI Agents
Create and deploy powerful tools for any AI agent - from Claude and ElevenLabs Voice to Cursor, just by vibe-coding. Connect any service (Stripe, Supabase, Github etc), test, tweak, and ship hosted tool workflows or or export the code to self-host.
bille
billeOP5h ago
@Gaurav Chadha thanks!

Did you find this page helpful?