• (with query ent & body)
    Add a related entity to the given select query. If the entity has a relationship
      type of :belongs-to or :has-one, the requested fields will be returned directly in
      the result map. If the entity is a :has-many, a second query will be executed lazily
      and a key of the entity name will be assoc'd with a vector of the results.
      (defentity email (entity-fields :email))
      (defentity user (has-many email))
      (select user
        (with email) => [{:name "chris" :email [{email: ""}]} ...
      With can also take a body that will further refine the relation:
      (select user
         (with address
            (with state)
            (fields :state.state)
            (where { x})))

    korma.core/with found in 3 defs, across 3 projects.

    Search for vars with similar names in all artifacts: with

    Search for with in the documentation of all artifacts.

    1 usage in
    ampachedb 0.1.8
    A set of Clojure libraries for interacting with ampache music server through it's
    1 usage in
    granary 1.0.4
    1 usage in
    geppetto 3.1.0
    Backend support for experimental work.