mongo_crud_core 0.1.0

A simple library to extract the mongoDB fetching process. Only for basic types.
Documentation
1
2
3
4
5
6
use async_trait::async_trait;

#[async_trait]
pub trait MongoContext {
    async fn get_database(&self) -> mongodb::Database;
}