[][src]Function wread_data_mongodb::crud_repository::find_with_sort

pub fn find_with_sort<T>(
    filter_document: Document,
    sort_document: Document,
    collection_name: &str,
    db: &Database
) -> Result<Vec<T>, Box<dyn Error + Send + Sync + 'static>> where
    T: Serialize + Deserialize<'a>,