接上一章的内容,我们继续来看Think.class.php文件的start方法 static public function start() { // 注册AUTOLOAD方法 spl_autoload_register('Think\Think::autoload'); // 设定错误和异常处理 register_shutdown_function('Think\Think::fatalError'); set_error_handler('Think\Think::appError'); s
update teacher set name ='111' where id in(286,289);print @@rowcount;--或select将查出,是@@rowcount,不是@rowcount或rowcount或其它 20181023 获取insert主键: select @@IDENTITY @@IDENTITY 列不能由用户直接更新,它是由系统自动维护的. 返回最后一个插入 IDENTITY 的值