sea_query::extension::postgres

Trait ExtensionBuilder

source
pub trait ExtensionBuilder: QuotedBuilder {
    // Required methods
    fn prepare_extension_create_statement(
        &self,
        create: &ExtensionCreateStatement,
        sql: &mut dyn SqlWriter,
    );
    fn prepare_extension_drop_statement(
        &self,
        drop: &ExtensionDropStatement,
        sql: &mut dyn SqlWriter,
    );
}
Available on crate feature backend-postgres only.

Required Methods§

source

fn prepare_extension_create_statement( &self, create: &ExtensionCreateStatement, sql: &mut dyn SqlWriter, )

Translate ExtensionCreateStatement into database specific SQL statement.

source

fn prepare_extension_drop_statement( &self, drop: &ExtensionDropStatement, sql: &mut dyn SqlWriter, )

Translate ExtensionDropStatement into database specific SQL statement.

Implementors§