I am trying to query a datetime attribute that can be null. For my search I want the query to return all projects after a given date (greaterThanEqual) or isNull. So far I cannot see how I can build a query like this, since the Queries are connected via AND and only in a Query itself things can be logically connected via OR.
You can use two separate queries for now. Also, linking a related issue: https://github.com/appwrite/appwrite/issues/2740
Alright thanks
I want to implement it in a function but it seems like there is no Query.isNull there... At least the compiler does not know it π
Can isNull only be used by the client?
I am using dart_appwrite: ^7.1.0
Yes thats the problem. I updated to 8.0.0 and it compiled correctly π
Recommended threads
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Function in Node.JS to monitor events ar...
Hello everyone. I'm creating my first Node.JS function, but I don't have much experience with node and javascript. I'm trying to create a function, that monito...