sylvia_iot_data::models::mongodb_conn

Function connect

Source
pub async fn connect(options: &Options) -> Result<Database, Box<dyn StdError>>
Expand description

Connect to MongoDB.