Is there some difference if I do this:
const promise = databases.listDocuments( database, collection, [ Query.equal('userId', userId), Query.equal('groupId', payload.groupId) ] );
instead of using "and" query:
const promise = databases.listDocuments( database, collection, [ Query.and([ Query.equal('userId', userId), Query.equal('groupId', payload.groupId) ]) ] );
Recommended threads
- Relationship / left join on key
Does anyone know how to crrate a relationship on a key. I have 2 tables. I want a many to one relation. Where each post has one username. Each username can have...
- AppwriteException: Invalid `permissions`...
I'm encountering an issue with the node-appwrite SDK while attempting to create a storage bucket with custom permissions. Despite following the official documen...
- [OpenID Connect] Logto IdP with Appwrite...
I use Convex and Appwrite for my projects, and to solve the authorization problem, I decided to connect Logto as a single authorization center for all projects ...