"我的小公主"搜索到(2)结果

php-activerecord 是一个基于 ActiveRecord 设计模式 开发的开源PHP ORM库。它旨在大大简化与数据库的交互和减少手写 SQL 语句。它不同于其他的ORM,你不需要使用任何的代码生成器,也不费劲去手写、维护模型层的表映射文件。这个库的灵感来自Ruby on Rails ,因此它也借鉴Ruby on Rails...

 阅读 (1618)   2016-04-01   评论 (0) 

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

 阅读 (934)   2016-05-16   评论 (0) 
  ActiveRecord  ORM