PHP微型ORM框架:VoodOrm

jopen 10年前

VoodOrm是一个基于PDO的流畅SQL查询构建器。它能够让你轻松实现查询和CRUD操作。

特性

  • PDO and prepared statements
  • Fluent Query
  • Relationship
  • Joins
  • Aggregation
  • Query debugger and query profiler
  • Active Record pattern

要求

  • PHP >= 5.3
  • PDO

$user = $users->insert(array(                  "name" => "Mardix",                  "age" => 30,                   "city" => "Charlotte",                  "state" => "NC",                  "device" => "mobile",                  "timestamp" => $voodorm->Datetime()              ));

项目主页:http://www.open-open.com/lib/view/home/1350818832258