is there any way to query related model's related model like from post
\Get:
{"order": "created_at DESC","include":[{"relation": "user"}]
But, in my user
model there is a relation hasone
with settings
model. I want to get that also, while querying from post
\Get rest api. I've tried with:
{ "include": { "relation": "user","include": {"relation":"settings"}}}
but no luck.