Liking cljdoc? Tell your friends :D

datumbazo.associations


belongs-toclj

(belongs-to association & {:keys [foreign-key primary-key schema]})

Add a belongs to association to a table.

Add a belongs to association to a table.
sourceraw docstring

has-manyclj

(has-many association
          &
          {:keys [batch-size dependent foreign-key primary-key schema]})

Add a has many association to a table.

Add a has many association to a table.
sourceraw docstring

IAssociationcljprotocol

fetchclj

(fetch association record)

Fetch all records in association of record.

Fetch all records in `association` of `record`.
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close