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
- Project paused despite active use — rest...
Hey team! My Appwrite Cloud project (685579e5000d78e67009) has been marked as paused due to inactivity, but it's actively used in production. I clicked the Rest...
- Creation failedUnknown sort order:asc. M...
Hi there, I'm getting this error on self hosted when trying to create an Index. Any ideas?
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...