
I'd like to check for boolean values, for example like this:
TypeScript
databaseId,
userCollectionId,
[
Query.and([
Query.equal("user_id", user.$id),
Query.equal("deleted", [false]),
]),
]
);```
I've found a matching support thread here, which showed that it works to just put in the value without any bracket and not as string, as far as i understood. But I am wondering if this the correct way, like if it would be mentioned in the docs, what would be written there? I'm unsure since chatGpt mentioned that Appwrite also uses this notation: ```[false]```
TL;DR
You can check for boolean values by inputting them without brackets or strings, like `Query.equal("deleted", false)`. While it may not be explicitly mentioned in the docs, this notation works fine as observed with Appwrite. Recommended threads
- Status "stuck" after trying to delete a ...
Hi, I tried first to re-name a two-way relation field between two collections, when I received an error tried to delete two fields. Deleted all the data rows, ...
- integrate firebase phone auth in appwrit...
Is there is any way to integrate firebase phone auth in appwrite (I am using Appwrite Self Hosted)
- [SOLVED] Internal curl errors has occurr...
Hello! I have cloud function code that errors out with ```Internal curl errors has occurred within the executor! Error Number: 52. Error Msg: Empty reply from ...
