I am trying to filter my list of data by integer value.... for example: between 1-10, but when i use <= and >= at the same time it is not taking returning data
db.collection('exapmle')
.where('lmv_capacity', '>=', this.min_capacity)
.where('lmv_capacity', '<=', this.max_capacity)
.get()
.then(res => {
res.forEach((doc) => {
this.datas.push({
id: doc.id,
owner_name: doc.data().owner_name,
locality: doc.data().locality,
district: doc.data().district,
landmark: doc.data().landmark,
two_wheeler_capacity: doc.data().two_wheeler_capacity,
lmv_capacity: doc.data().lmv_capacity
})
})
})