Can you please tell me trying to get the data that matches the condition
$products = App\Product::where([ ['area', '>', $filters['minArea']], ['area', '<', $filters['maxArea']] ]); But, for some reason, it returns an empty array .. What am I doing wrong?
App\Product::where('area', '>', $filters['minArea'])->where('area', '<', $filters['maxArea'])->get(), and By the way, you're about get () forgot - Orange_shadow