Laravel this query:
DB::table('registries')->where('metas->name', $this->registry_name)->select(['metas->date'])->first();
Returning data like this:
{#1463 ▼
+"`metas`->'$."date"'": ""2017-01-02""
}
Because of this problem (2x double quotes) there is problem with DataTables package, as result converted to JSON still have 4 double quotes.
If I remove select(['metas->date'])
everything fine then...
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire