Skip to content
Back

Relationships limits

  • 0
  • Databases
Liam
1 Jan, 2025, 12:21

Hi guys, I have a question about relationships in Appwrite. When retrieving a specific document that has a one-to-many relationship, is there a way to limit the number of related documents that are fetched? For example, if a document has a relationship that contains 1000 documents, can I limit it to fetch only the first 10

TL;DR
Question from developers about limiting the number of related documents fetched in a one-to-many relationship in Appwrite. They want to know if it's possible to retrieve only the first few related documents instead of all.
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