Closed satkamar closed 5 years ago
firestore() { return { // Collection radioList: db.collection("radio") .where("start", ">=", startDay) .where("start", "<=", endDay) .where("status", "==", "confirmed") .orderBy("start", "asc") } }
Here query will return an array. Before rendering, needs to be preprocessed. How to pass the startDay and endDay value dynamically from function params.
Try https://github.com/ClickerMonkey/vue-fiery
firestore() { return { // Collection radioList: db.collection("radio") .where("start", ">=", startDay) .where("start", "<=", endDay) .where("status", "==", "confirmed") .orderBy("start", "asc") } }
Here query will return an array. Before rendering, needs to be preprocessed. How to pass the startDay and endDay value dynamically from function params.