pub trait IndexExt {
    // Required methods
    fn psql_primary_to_unique(&self, table_name: &str) -> Self;
    fn sql_name(&self, table_name: &str, dialect: SQLDialect) -> Cow<'_, str>;
    fn joined_names(&self) -> String;
    fn psql_suffix(&self) -> &str;
    fn normalize_name_psql(&self, table_name: &str) -> String;
    fn normalize_name_normal(&self, table_name: &str) -> String;
    fn normalize_name(&self, table_name: &str, dialect: SQLDialect) -> String;
    fn to_sql_drop(&self, dialect: SQLDialect, table_name: &str) -> String;
    fn to_sql_create(&self, dialect: SQLDialect, table_name: &str) -> String;
    fn sql_format_item(
        dialect: SQLDialect,
        item: &Item,
        table_create_mode: bool
    ) -> String;
}

Required Methods§

source

fn psql_primary_to_unique(&self, table_name: &str) -> Self

source

fn sql_name(&self, table_name: &str, dialect: SQLDialect) -> Cow<'_, str>

source

fn joined_names(&self) -> String

source

fn psql_suffix(&self) -> &str

source

fn normalize_name_psql(&self, table_name: &str) -> String

source

fn normalize_name_normal(&self, table_name: &str) -> String

source

fn normalize_name(&self, table_name: &str, dialect: SQLDialect) -> String

source

fn to_sql_drop(&self, dialect: SQLDialect, table_name: &str) -> String

source

fn to_sql_create(&self, dialect: SQLDialect, table_name: &str) -> String

source

fn sql_format_item( dialect: SQLDialect, item: &Item, table_create_mode: bool ) -> String

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IndexExt for Index

source§

fn psql_primary_to_unique(&self, table_name: &str) -> Self

source§

fn sql_name(&self, table_name: &str, dialect: SQLDialect) -> Cow<'_, str>

source§

fn joined_names(&self) -> String

source§

fn psql_suffix(&self) -> &str

source§

fn normalize_name_psql(&self, table_name: &str) -> String

source§

fn normalize_name_normal(&self, table_name: &str) -> String

source§

fn normalize_name(&self, table_name: &str, dialect: SQLDialect) -> String

source§

fn to_sql_drop(&self, dialect: SQLDialect, table_name: &str) -> String

source§

fn to_sql_create(&self, dialect: SQLDialect, table_name: &str) -> String

source§

fn sql_format_item( dialect: SQLDialect, item: &Item, table_create_mode: bool ) -> String

Implementors§