获取添加数据的自增ID

$id= DB::select("select auto_increment from information_schema.`TABLES` where table_name='student' and TABLE_SCHEMA='monthexe'");

 

posted @ 2019-04-07 10:41  你的男孩  阅读(743)  评论(0)    收藏  举报