//5.0$qwe = db::table(‘think_user‘)->where(‘id‘,1)->fetchsql()->column(‘name‘); dump($qwe); //3.2$asd = M(‘user‘)->where(‘id = 1‘)->field(‘name‘)->fetchsql()->select(); dump(asd);
时间: 2025-01-13 06:57:21
//5.0$qwe = db::table(‘think_user‘)->where(‘id‘,1)->fetchsql()->column(‘name‘); dump($qwe); //3.2$asd = M(‘user‘)->where(‘id = 1‘)->field(‘name‘)->fetchsql()->select(); dump(asd);