#problem in relation

17 messages · Page 1 of 1 (latest)

little oyster
#

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 ?!

#

<@&634618551491100692>

#

<@&564164014339391498>

analog hinge
#

No need to pin everyone 😅

little oyster
analog hinge
#

I think in such case it will be better to handle that without a relationship

tranquil flower
#

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

little oyster
tranquil flower
little oyster
#

Yes i need to return all of collection items

analog hinge
#

Unless it's 100% needed. Instead you should use pagination

#

And not a relationship

serene igloo
#

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.

tranquil flower
#

I'm a little confuse too, relationship currently return all child documents, are you talking about parent documents?