Why "find_all" instead of "find-all"?

- James

On 26 February 2016 at 06:51, Krzysiek Herod <krzysiek.he...@gmail.com>
wrote:

> I created Relational Mapper, for situations where there is a relational
> database with certain amount of relations between tables and it's just not
> cool to fetch data from each table separately nor to write custom code for
> each such project so, with this library, you can just call:
>
> (find_all db-state :posts #{:authors :attachments} [:= post.id 1])
>
> and assuming you have appropriate relations between these tables, you'll get:
>
> {:posts {:title "Christmas"
>          :body "Merry Christmas!"
>          :id 1
>          :authors_id 10
>          :authors {:name "Rudolf" :id 10}
>          :attachments [{:name "rudolf.png" :id 100 :posts_id 1}
>                        {:name "santa.png" :id 101 :posts_id 1}]
>
>
> The code is here: https://github.com/netizer/relational_mapper
>
> Please, guys, let me know what do you think, and if you have any ideas
> about improvements. If somebody would be so kind to take a look at the
> code, it would be awesome to read some feedback.
>
> Krzysiek HerĂ³d
>
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to