Codeigniter with Yii2    

Codeigniter和Yii2的结合

0

ACTIVE RECORD(ORM)参考: http://www.yiiframework.com/doc-2.0/guide-db-active-record.htmlnamespace app\models; use yii\db\ActiveRecord; class Customer extends ActiveRecord {...

8年前发布  · 2392 次阅读
  ActiveRecord  ORM 
0

ActiveRecord查询:// find the customers whose primary key value is 10 $customers = Customer::findAll(10); $customer = Customer::findOne(10); // the above code is equivalent...

8年前发布  · 934 次阅读
  ActiveRecord  ORM