On Fri, Jan 7, 2011 at 3:23 AM, LauJensen <lau.jen...@bestinclass.dk> wrote:
> Half right - It will compile everytime, but not necessary create the
> AST everytime:
>
> (let [my-table (-> (table :user)
>    (select (where (= :id user-id)))
>    (project [:dateofbirth :gender :zipcode]))]
>  (repeatedly @my-table))

Interesting approach. I hadn't thought of a way to reuse a query in
the context of the app I'm working with but that gives me some ideas
about rethinking things. Thanx.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to