dimanche 7 mars 2021

laravel match the questioned data with column

DB::table('table')->whereJsonContains('numeric_array', $permutated)->get();

I have a query like this. but it's getting all data which numeric array contains one of permutated data.if numeric array and permutated data is same I want to mark. How can I do that?

P.S. I don't want to change anything, I just want to mark if they are same.

Aucun commentaire:

Enregistrer un commentaire