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
- Failed to load data from database
My app broken, it throw AppwriteException exception. Few days ago it works well. AppwriteException: , ClientException with SocketException: Failed host lookup:...
- AI feature by functions?
I'm creating a website where, in short, users can index certain genealogical content. In connection with the development of AI, I was thinking about introducing...
- 500 Internal Error when Project is opene...
After migrating from 1.6.1 to 1.7.4 I noticed this strange behaviour: When I open a project in a separate tab I get a 500 internal error. However, then I simpl...