BuildShipBBuildShip
Powered by
redlibetsR
BuildShip•3y ago•
3 replies
redlibets

Firestore multi-document filtering

Hi, Im new to Buildship and JavaScript and trying to retrieve the set of Firestore documents in a collection for which a field is equal to a certain value (e.g. return the list of cars for which speed = 10). This is step 1, the ultimate goal is to return the value of field A for the document where field B = X and field C = Y, maybe there is a better way?

I can connect to the database etc fine and have succesfully tested pulling down a field value for the node which just gets one document, but when using the node which get mltiple ones I can't figure out what to put in the FIlters and Sort inputs to get it to run for this use case.

I've tried various idea but usually end up getting the message:

"orderBy.forEach is not a function"

Any help greatly appreicated thanks 🙂
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Create New Firestore Document problem
IronGoldIIronGold / ❓・buildship-help
2y ago
Create document in a SUBcollection in Firestore
aledepiAaledepi / ❓・buildship-help
3y ago
Filtering a Firestore call with OR condition
JamesGJJamesG / ❓・buildship-help
2y ago
Firestore node - Edit Document - From array to map
AntoineAAntoine / ❓・buildship-help
4mo ago