collection_with_name

Function collection_with_name 

Source
pub async fn collection_with_name<T: Indexed>(
    db: &Database,
    coll_name: &str,
    should_create_index: bool,
) -> Result<Collection<T>, Error>