How to write this sql query in medoo?
select * from users where name='John' and age=35?
I tried it like,
select('users','*',["AND"=>["name[=]"=>"John","age[=]"=>35]]);
- The above query returns an array when data is found and returns a boolean value instead of an empty array when no such record exists.
Can someone please explain the reason for this?