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§
sourcefn prepare_extension_create_statement(
&self,
create: &ExtensionCreateStatement,
sql: &mut dyn SqlWriter,
)
fn prepare_extension_create_statement( &self, create: &ExtensionCreateStatement, sql: &mut dyn SqlWriter, )
Translate ExtensionCreateStatement
into database specific SQL statement.
sourcefn prepare_extension_drop_statement(
&self,
drop: &ExtensionDropStatement,
sql: &mut dyn SqlWriter,
)
fn prepare_extension_drop_statement( &self, drop: &ExtensionDropStatement, sql: &mut dyn SqlWriter, )
Translate ExtensionDropStatement
into database specific SQL statement.