Skip to main content

init

Function init 

Source
pub async fn init(config: AnalyticsConfig) -> Result<AnalyticsDatabase>
Expand description

Initialize the analytics system with the given configuration

ยงErrors

Returns an error if the database cannot be opened or migrations fail.