I have a column called clube
and in a row it has the following {"clube":["Santos"]}
, using that form for the data
$clubes = Socios::where('socio', $socio)->select('clube')->get();
It returns me this way [{"clube":"{"clube":["Santos"]}"}]
, with an external array called clube
, how can I return only what is inside the field in the database ??