1. Controller interface
public function demo(){
dump("Test whether the control can be accessed");
$sql = 'SELECT * FROM `user` ';
dump("Test whether the sql statement is wrong");
$res = Db::query($sql);
var_dump($res);
2 , error message
could not find driver
##}
There is no database driver. Are you sure your database link is correct?