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
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...
- No Document ID?
Hi I have a self hosted appwrite. My documents get a document ID but are not visible in the console. I don't know why this happens and how to fix this
- ACTIVATE DEPLOYMENT PROBLEM...
It's not giving me the option to activate a deployment that says it's ready..