discorrrdbomba
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
- 401 to get /accounts
```javascript code: 401, type: 'general_unauthorized_scope', response: { message: 'User (role: guests) missing scope (account)', code: 401, ty...
- Wrong number of items (databases, docume...
On the project page in the Appwrite Console, the dashboard says I have 6 databases and 242k devices, while when I count the databases I have 5, and counting the...
- Firing custom notifications from backend...
Hi there! I'm trying to send notifications from my backend (a Dart app using a self-hosted Appwrite instance) to Flutter clients. Currently I'm updating a docum...