Skip to main content

connect

Function connect 

Source
pub async fn connect(uri: &str, db_name: &str) -> Result<MongoStorage, Error>
Expand description

Connect to MongoDB and return a ready storage handle.