TypeScript
let spheresList = await databases.listDocuments(
id1, id2,
[Query.equal('name', [userData?.spheres]),Query.equal('email', [user.email])]
);
There is my code where i get error:
TypeScript
AppwriteException: Invalid query: Equal queries require at least one value.
How I can get document by two equal queries? I use appwrite ^13.0.2 in sveltekit 5
TL;DR
Developers are attempting to fetch documents based on two equal queries using Appwrite version 13.0.2 in SvelteKit 5. The error "Invalid query: Equal queries require at least one value" is encountered. The solution involves passing a single string value to the `Query.equal` method instead of an array.Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...