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
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...
- How to update from 1.8.1 to 1.9.6
Due to the number of issues reported in version 1.9.5, I am hesitant to proceed with the update. Could anyone advise if version 1.9.6 is stable and resolves tho...
- HTTP Error 500 ''
Hello to everyone, I'm a Flutter developer and actually I'm developing an app using Appwrite.. during my tests and also massive ones I've noticed something we...