I know this question has been asked before, but this was some time ago plus 
I haven't found an acceptable answer in the old posts. So here I go:

Assuming I have a "belongs-to" relationship, how can I select the related 
entity, and have the result as a nested data structure.


(defentity department)

(defentity employee
    (belongs-to department))

(select employee (with department))

Expected result:

    :id 10
    :name "John Smith"
    :department {
        :name "Customer Support"
        :id 500


You received this message because you are subscribed to the Google Groups 
"Korma" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlkorma+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to