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
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...
- Charged after Downgrade
I downgraded from the pro plan last month, but it’s still trying to charge my card this month and my account has been restricted
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...