Skip to main content

index_name

Function index_name 

Source
pub fn index_name(table: &str, columns: &[impl AsRef<str>]) -> String
Expand description

Generate a standard index name for a table and columns.

Uses the convention idx_{table}_{columns} where columns are joined by underscore.