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
- Relationship data Not showing on update ...
Version : 1.9.0 OS/System : Windows10/Docker Database : MongoDB Clean Zero Installation The first thing I did in the testing process was create a category and...
- I lost my account, only thing i have is ...
So i had this project on appwrite for my web project called Islami zindagi, but i havent used it in a while, now i tried to login, but i could not remember the ...
- 403 The current user has been blocked.
Hello, I have a free plan; I've tried to access my project and I get the message "403 The current user has been blocked." I have database, sites, and auth in us...