Skip to main content

many_through

Function many_through 

Source
pub fn many_through(
    field_name: &str,
    target_table: &str,
    columns: &[(&str, &str)],
    junction_table: &str,
    junction_local: &str,
    junction_foreign: &str,
) -> RelationDef
Expand description

Create a Many relation through a junction table (many-to-many).