Back

How to list documents by User

  • 0
  • Databases
  • Cloud
Mr English
10 Jun, 2024, 13:47

Assume we have 3 Users:

User 1. ID = 123 User 2. ID = 456 User 3. ID = 789

We have a database of documents, that have been created by all three users.

Each User, when logged in, should see only their documents. Please show me how to do that using JavaScript and any settings in Appwrite.

Thanks.

TL;DR
Developers want to list documents for specific users in JavaScript using Appwrite. Solution: Use Appwrite's SDK to authenticate users and retrieve documents based on their IDs.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more