lundi 29 juillet 2019

How to GroupBy in Relationship?

I have post table

| ID | TITLE | SLUG | CONTENT | COMMENTS_COUNT | 

and i have post_reactions table

| ID | USER_ID | TYPE | POST_ID | 

I want to make a relationship that what reactions that post have



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Zirzbn
via IFTTT

Aucun commentaire:

Enregistrer un commentaire