samedi 15 octobre 2016

How to exclude object in response Laravel?

I do request with joining tables:

$categories = Model::with("translate")->get();

In result object I get data with translate for each row.

How can I exclude this from response?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire