korma/Korma — pull request #122 by Sebastiansen (2013-02-13 19:57:43+00:00)
Title: Named relationships

Support for named relationships, passing a vector optionally with name and entity instead of only the entity. This will also allow more than one relationship between two entities. e.g.

(defentity users
(belongs-to [:book books])

(select users
(with :book))

(select users
(join :book))