Изменения

Funq

20 байтов добавлено, 10:46, 15 июля 2009
Объектное формирование запросов
$dbh->query(entity => "t0")
->where("t0.?t0where and ?subq in ?tagcount")
->select("t0.*, ?subq as t0.tag_count", )->curry(subq => $dbh
->query(tag2entity => "t1")
->where("t1.pid=t0.pid and t1.eid=t0.eid")
->where("t1.config in ?list", ) ->curry(list => $dbh->query("configs"))
->count->value
)
</source>