Skip to main content

wire_join

Function wire_join 

Source
pub fn wire_join<P: Model, C: Model>(
    reg: &mut Registrar<'_>,
    field: &'static str,
    join_table: &'static str,
    ordered: Option<&'static str>,
    delete: DeleteRule,
)
Expand description

Wire one many-to-many; called from the derive-generated Model::wire.