It is possible to create a relation between objects of two different classes via _parent_id
field.
score
, review
, and comment
fields. We also have a Movie class. So we can create a record of class Rating that will point to the record of the class Movie via its _parent_id
field, so the _parent_id
field will contain the ID of record from class Movie.
_parent_id
field set to the Movie class record ID) will be automatically deleted as well.See this request to learn how to create a child custom record._parent_id=<id_of_parent_class_record>
.