[postmodern-devel] Selecting dao's

Renato Lucindo lucindo at gmail.com
Wed Sep 26 19:07:15 UTC 2007


Hi,

There is some way to select a limited number of daos without using query-dao?

I think in something like that: the function select-dao accepting some
key parameters, like :limit, :offset, :order-by...

(select-dao 'my-entity :limit 100)

to be same as

(query-dao 'my-entity (:limit (:select '* :from 'my-entity) 100))

I think this would be useful in many applications, and allow the
developer to write code without SQL.

[]'s

Lucindo



More information about the postmodern-devel mailing list