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
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.