krapomusic
BBuildShip
•Created by krapomusic on 12/29/2024 in #❓・buildship-help
Simple filter by date in a Firestore query
So I made progress : I used the following filter :
{ field: "NextOccurence", operator: "!=", value: Math.round(new Date()/1000) }and it returns the whole colection, which is correct. However, replacing '!=' with '<' or with '>' returns an empty array. What is the correct way ?
6 replies
BBuildShip
•Created by krapomusic on 12/29/2024 in #❓・buildship-help
Simple filter by date in a Firestore query
I'd rather talk to people than a bot 😕
The first solution returns an empty list.
The second solution generates an error : "firebase is not defined"
6 replies