Home >Web Front-end >JS Tutorial >thinkphp table name case tips_jquery

thinkphp table name case tips_jquery

WBOY
WBOYOriginal
2016-05-16 16:16:372147browse

We have a table auth_group_access, so how to use it?

When using the M method, the following method can be used for underlined table names.

M('AuthGroupAccess');

Corresponding sql statement SQL: SHOW COLUMNS FROM `auth_group_access` [ RunTime:0.009198s ]

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