摘要: $Model = M(); // 实例化一个空对象 $Model->startTrans(); // 开启事务 // // TODO 其它操作 // // table 方法中的数据表名要带上前缀,这里为“test_”。 $Model->table('test_user')->add(['name'= 阅读全文
posted @ 2017-07-05 17:46 码猿人 阅读(1455) 评论(0) 推荐(0)