Skip to content

How to establish one-to-one, one to many, and many to many relationships between ContentItems,please? #15207

Answered by MikeAlhayek
effapp asked this question in Q&A
Discussion options

You must be logged in to vote

Please only use issue when there is an issue. Otherwise, please use discussion.

In OC there is no relations between table as you would see in typical ORM or database structure.

You can use ContentPickerField on ContentTypeA so then the user create an instance of A they would have a way to select a single or multiple ContentTypeB.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by effapp
Comment options

You must be logged in to vote
1 reply
@hishamco
Comment options

Comment options

You must be logged in to vote
1 reply
@hishamco
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #15203 on January 30, 2024 18:40.