如何在 medoo 中编写这个 sql 查询?
select * from users where name='John' and age=35?
我试了一下,
select('users','*',["AND"=>["name[=]"=>"John","age[=]"=>35]]);
- 上述查询在找到数据时返回一个数组,并在不存在此类记录时返回一个布尔值而不是空数组。
有人可以解释一下原因吗?
如何在 medoo 中编写这个 sql 查询?
select * from users where name='John' and age=35?
我试了一下,
select('users','*',["AND"=>["name[=]"=>"John","age[=]"=>35]]);
有人可以解释一下原因吗?