Function with_boxed_database_config

Source
pub fn with_boxed_database_config<DB>(
    backend: DB,
    _config: DatabaseConfig,
) -> BoxedDatabaseEntryPoint<DB>
where DB: DatabaseBackend + Send + Sync + Debug + 'static,
Expand description

Create a new database entry point with the given backend and config

This function creates a new entry point for working with databases. Use the boxed_async! macro with setup and with_transaction to avoid lifetime issues.