执行一条SQL
$db->query("select * from table_name where id = 1")->fetch();
//同样如此,query链式操作也提供 fetch fetchAll 获取数据的方法
关闭