Trait migra::clients::OpenDatabaseConnection[][src]

pub trait OpenDatabaseConnection where
    Self: Sized
{ fn manual(
        connection_string: &str,
        migrations_table_name: &str
    ) -> MigraResult<Self>; fn new(connection_string: &str) -> MigraResult<Self> { ... } }
Expand description

A trait that helps to open a connection to a specific database client.

Required methods

Open database connection manually with additional migration table name parameter.

Provided methods

Open database connection with predefined migrations table name.

Implementors