I am new to coding, I'm trying to build an API using lumen. Now I have a problem, I cannot find out the solution. here is my code.
$data = Speech::select('select * from speeches where is_requested = 0');
return response()->json(['status'=> 'Success', 'data' => $data], 200);
I went to find out when "is_requested" is false. Now it returns me a blank array. please help me if possible.{of course, it's so easy for you guys... :) }