select('name,age')->from('users')->where('age>12')->query(); * 等价于 * $user_array = Db::instance('user')->query('SELECT `name`,`age` FROM `users` WHERE `age`>12'); * @var array */ public static $common = array( 'host' => '127.0.0.1', 'port' => '3306', 'user' => 'root', 'password' => 'crazy_coin2020', 'dbname' => '', 'charset' => 'utf8' ); } ?>