THINKPHP兄弟连李文凯老师视频笔记:11CURD和关联操作

$user = M(‘user’);
find 返回一维数组
select 将该表中的所有信息读取出来
findAll 二维数组

$list = $user->find();

//连贯操作,这里先忽略,因为我觉得不实用

myisam表级锁
innodb行级锁

Related posts:

Leave a Reply

Your email address will not be published.