
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
- Exposing project id and endpoint on GitH...
Is it best practice to expose your project id and endpoint in your appwrite.js file when publishing an NextJS or Angular project. If you use a .env file, that i...
- Insights🐛 Bug Report: Missing Tables AP...
Hi. First time appwrite user. i'm building a new mobile app with react-native & expo and decided to use appwrite as a tech for this app. i found the react-nativ...
- Upgrading Appwrite 1.7.4 → 1.8.x: What H...
I'm currently running a self-hosted Appwrite v1.7.4 instance that still uses the old Collections/Documents database model. I noticed that starting from v1.8.x,...
