I save the destinations field as json type in mysql
Example column value ["Goa", "Moonar", "Kochi"]
I would like to get all lines that match goa as recipients
However, this row query returns the desired result
SELECT * FROM `packages` WHERE JSON_CONTAINS(destinations, '["Goa"]');
But what is the eloquent equivalent of the above query?
Laravel 5.3 Version
Model Name: Search
source share