- (belongs-to ent sub-ent)
- (belongs-to ent sub-ent opts)
Add a belongs-to relationship for the given entity. It is assumed that the foreign key is on the current entity with the format sub-ent-table_id: email.user_id = user.id. Can optionally pass a map with a :fk key collection or use the helper `fk` function to explicitly set the foreign key. (belongs-to users email) (belongs-to users email (fk :userId))
korma.core/belongs-to found in 3 defs, across 2 projects.
Search for vars with similar names in all artifacts: belongs-to
Search for belongs to in the documentation of all artifacts.
1 usage in
A set of Clojure libraries for interacting with ampache music server through it's