I have a json column which is set as null by default and casted as array in model. I've used
->where('column_name', '\[\]')->get();
It retrun empty collection.
My question is if i've to check whether a column is empty array or not in where condition what will i do?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2V9LF7p
via IFTTT
Aucun commentaire:
Enregistrer un commentaire