[−][src]Trait butane_core::db::Backend
Database backend. A boxed implementation can be returned by name via get_backend.
Required methods
pub fn name(&self) -> &'static str
[src]
pub fn create_migration_sql(
&self,
current: &ADB,
ops: &[Operation]
) -> Result<String>
[src]
&self,
current: &ADB,
ops: &[Operation]
) -> Result<String>
pub fn connect(&self, conn_str: &str) -> Result<Connection>
[src]
Implementations on Foreign Types
impl Backend for Box<dyn Backend>
[src]
pub fn name(&self) -> &'static str
[src]
pub fn create_migration_sql(
&self,
current: &ADB,
ops: &[Operation]
) -> Result<String>
[src]
&self,
current: &ADB,
ops: &[Operation]
) -> Result<String>