Tuesday, May 23, 2017

Select unique values using relationships

Database Structure: db How to get unique value from items_options, in group_id

Example:

[

{id: 1, title: Size, value: [ S,XL,XXXL]},

{id: 3, title: Color: value: [blue, red]}

]



via Sergio

Advertisement