Slide 13
Slide 13 text
const products = await admin.firestore().collection('products')
.where('isActive', '==', true)
.where('stock', '!=', 0)
.where('price', '<=', 10000)
.where('price', ‘>=', 5000)
.then(querySnapshot => {
return querySnapshot.docs.map(doc => {
...
})
})
❌