2021年3月7日星期日

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.

https://stackoverflow.com/questions/66523477/laravel-match-the-questioned-data-with-column March 08, 2021 at 10:06AM

没有评论:

发表评论