Home  >  Article  >  Backend Development  >  thinkphp table name case tips, thinkphp case_PHP tutorial

thinkphp table name case tips, thinkphp case_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:08:24759browse

thinkphp table name case tips, thinkphp case

<span>我们有一个表<span><span><span>auth_group_access</span></span></span>,那么如何使用呢?<br />在使用M方法时,对于带下划线的表名,可以采用如下方法。<br /><br />M(<span>'AuthGroupAccess')<span>;<br />对应sql语句SQL: SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.009198s ]<br /><br /><br /></span></span></span>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/951177.htmlTechArticlethinkphp table name case tips, thinkphp case we have a table auth_group_access, so how to use it? When using the M method, for underlined table names, you can use...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn