Skip to main content

many

Function many 

Source
pub fn many(
    field_name: &str,
    target_table: &str,
    columns: &[(&str, &str)],
) -> RelationDef
Expand description

Create a Many (has-many) relation.

columns is a slice of (local_column, foreign_column) pairs.