User Relationship Assigned to Created Item #11340
-
In my database I've got 3 tables all of which have a relationship tying them together.
I've attempted making relationships between the video item and the campaign using the Users.Campaign._id assigned to the Videos.Campaigns field but no luck. Would love some guidance on how to accomplish this. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @perezstudio This binding You could try instead These may be useful: |
Beta Was this translation helpful? Give feedback.
Hey @perezstudio
This binding
Users.Campaign._id
won't work. This is because relationships are always stored in an array (even if there is only one relationship).You could try instead
Users.Campaign.0._id
which would get the _id of the first campaign relationship, although I don't recommend this because you can't guarantee the order of the relationships if there's more than one.These may be useful: