tp5.1--数据表前缀

Db::table(table_name);//表名须带前缀

Db::name(table_name);//表名不需要带前缀【前提是已配置】

db(table_name);//表名不需要带前缀【前提是已配置】

你可能感兴趣的:(thinkphp5.1)