专为 PostgreSQL 设计的 ORM 框架,Pomm 1.0

fmms 12年前
     <p><a href="/misc/goto?guid=4958201524584889806" target="_blank">Pomm </a>是一个轻量级、快速、高效而且强大的 PHP 对象映射框架,专为 PostgreSQL 设计。由于只支持 PostgreSQL,Pomm 利用了 PostgreSQL 本身的丰富特性,性能非常强劲,功能很强大。</p>    <p>Pomm 只支持 PHP 5.3。<br /> </p>    <pre class="brush:python; toolbar: true; auto-links: false;">SELECT author FROM author;  | author |  +-------------------+  | "(1,'john doe')" |  +-------------------+  | "(2,'Edgar')" |  +-------------------+    SELECT    author.id,    author.name,    array_agg(post) AS posts  FROM    author      LEFT JOIN post ON          author.id = post.author_id  GROUP BY    author.id;  | id | name | posts |  +----+----------+----------------------------------------+  | 1 | John Doe | {"(1,'first post')","(2,'new post')"} |  +----+----------+----------------------------------------+  | 2 | Edgar | {"(3,'Hello world')"} |  +----+----------+----------------------------------------+</pre>    <br /> Pomm 发布 1.0 版本了,该版本重写了转化系统模块,可处理 Pg 的数组和对象;可处理虚拟字段,更新了相应的类生成模块。    <p></p>