Many To Many Relation

Hi

Am Using The Joomla Componenet and I like it a lot ,

The problem am facing is what is the way to make a Many to Many database Relation with The Joomla Componenet creator

Thank you

Example

Let say we have a table articles and a table tags , With many to many relation we need a table article_tag with 2 fields minimum article_id and tag_id , with that, we will have many Tags belongs to many articles and many articles Own many tags

Eloquent in Laravel have a nice way to do this with a sync method

Thank you

Submitted by faycal On Saturday, 02 April 2016.
Category: Joomla Component Creator

0
2 Answers.
 
Super User
laser

Re:Many To Many Relation

currently no such way to link, but u can create a 3rd table with article_id and tag_id as fields and build logic as u needed
Submitted by Super User On Sunday, 03 April 2016
0
Super User
laser

Re:Many To Many Relation

please elaborate it with example
Submitted by Super User On Sunday, 03 April 2016
0