[英]How can i make price range filter in flutter and firebase firestore
我想進行這樣的過濾搜索:價格:最小到最大價格范圍就像最小和最大價格之間
你想要做的是:
QuerySnapshot snapshot = await productReference
.where('price', isLessThanOrEqualTo: maxPrice)
.where('price', isGreaterThanOrEqualTo: minPrice)
.get();
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.