Hello when i try to make one to many relation, allow me to add only 25 items but if my collection contain more than this, how can i solve it ?!
@Moderator
@Core
No need to pin everyone π
I am sorry but this problem confuse me. π
I think in such case it will be better to handle that without a relationship
In that case you should use a function to validate that, and only give read permissions to the collection. That way you make sure that write operation must be done by the function
I need to return all documents ?!
If I understood well you want to limit the number of documents in the relation to 25 items right?
Yes i need to return all of collection items
You should not get all documents at once
Unless it's 100% needed. Instead you should use pagination
And not a relationship
I'm very confused by what you're asking
Do you have better examples and more context?
Also please don't tag everyone and be patient. This is a community server, and it's very disruptive to be mass tagging people.
I'm a little confuse too, relationship currently return all child documents, are you talking about parent documents?
Hi @mo7amedtech could you solve it?
Recommended threads
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Compatibility issue with Kakao OpenID Co...
**Context:** I am attempting to integrate **Kakao Login** (one of the largest social login providers in South Korea) into my Flutter application using Appwrite'...
- [SOLVED] Appwrite 25.1.0 returns Invalid...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....