How to add elements to a List in a document for realm / react-native / typescript?

What is the typescript syntax for adding a user-defined object to a List field in realm for react-native? The list is in a parent object (i.e. there is a one-to-many relationship between the parent object and the list of child objects within the parent object.

I have looked quite extensively through the documentation but this particular use-case doesn’t seem to be clearly described as far as I can find.

Thanks in advance!

@Supi_Twist Our documentation on one-to-many relationships should be able to cover the use case you have described.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.