vendredi 6 juillet 2018

Get specific columns using “with()” inside of another '

i need to get specific columns in the 2 methods that is being chained inside 'with', but it doesnt work, how can i select specific columns in each method inside of the 'with' method.

Event::with('eventBookmakers.bookmakerInfo')->find(2);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire