- (many-to-many ent sub-ent join-table)
- (many-to-many ent sub-ent join-table opts)
- (many-to-many ent sub-ent join-table fk1 fk2)
Add a many-to-many relation for the given entity. It is assumed that a join table is used to implement the relationship and that the foreign keys are in the join table with the format table_id: user.id = user_email.user_id user_email.email_id = email.id Can optionally pass a map with :lfk and :rfk key collections or use the helper `lfk`, `rfk` functions to explicitly set the join keys. (many-to-many email :user_email) (many-to-many email :user_email (lfk :user_id) (rfk :email_id))
No usages found for korma.core/many-to-many
Search for vars with similar names in all artifacts: many-to-many
Search for many to many in the documentation of all artifacts.