Multiple backend query on listview.

Integrations

In my flutterflow.io project, I have created an application for my cafe, I have created 2 firestore collections, one is for menu items and second is for cart items. On home page I have created backend query on menu items and created button to add item in cart collections, One item is added, I want to increment and decrement item quantity in cart collection from home page, Now I want to display the quantity of item in cart collection on home page, but I am facing issue because I can create only one backend query, and I have already created menu item collection backend query. now please suggest the best way how can I display item quantity from cart collection on home page?

Please suggest the best way.

What have you tried so far?

I have tried using firestore query and stored that data in app state also (as List) but not able to understand how to extract that value and show from app state as database is list.

Did you check FlutterFlow's Documentation for this topic?
Yes
2 replies