Query.between('bookingStart', date.toIso8601String(),
date.add(const Duration(days: 1)).toIso8601String()),
Are you running against the cloud?
between was added in version 1.3.0
It won't work with the cloud just yet
ohh I see so how can I query date?
I have calendar picker when I want to pick date then I have to fetch all document that have the same date
Use graterThan or lessThan queries
Query.greaterThanEqual('bookingStart', date.toIso8601String()),
Query.lessThanEqual(
'bookingStart', date.add(const Duration(days: 1)).toIso8601String()),
not working
I can recreate it tomorrow to check if it won't get solved be then
[SOLVED] (Query method not valid: between)
Just for the record, there is an issue for this: https://github.com/appwrite/appwrite/issues/5650
Recommended threads
- Skip total counts crash the query
Hello, When adding the total parameter (either true, the default, or false) to the listRows function, it raises the following error: `type 'bool' is not a sub...
- Relationships and Realtime
Since now Relationship attributes are only returned when explicitly queried, how does this change reflect in Realtime? If a listener is listening to a row from ...
- Rate límit reset
I've made an error in the code by not setting a limit on how much rows should i get per request because i was working with a small db for testing. Last night Iv...