Function barrel::types::primary_constraint
source · pub fn primary_constraint<I, S>(columns: I) -> Typewhere
S: ToString,
I: IntoIterator<Item = S>,
Expand description
Create a primary key over multiple, existing columns of the same type