
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
- Error getting session: AppwriteException...
I get this error `Error getting session: AppwriteException: User (role: guests) missing scope (account)` when running in prod. As soon as I try running my app o...
- Unable to View / Edit Bucket Files
Hi! I am unable to view / edit Bucket Files. While Previews work just fine, clicking the actual file to view or edit it produces the errors seen in the attache...
- How to remove the Sign up link after cre...
Greetings, i just installed appwrite on a VPS and created an account but now i do not want others to have access to the sign-up page. Is there any way to hide o...
