feat: define db method to get all psuedo IDs with pagination

This commit is contained in:
Aravinth Manivannan
2023-10-20 00:18:29 +05:30
parent d5617c7ec7
commit d4534c1c43
6 changed files with 113 additions and 10 deletions

View File

@@ -289,6 +289,9 @@ pub trait MCDatabase: std::marker::Send + std::marker::Sync + CloneSPDatabase {
Err(e) => Err(e),
}
}
/// Get all psuedo IDs
async fn analytics_get_all_psuedo_ids(&self, page: usize) -> DBResult<Vec<String>>;
}
#[derive(Debug, Clone, Default, Deserialize, Serialize, PartialEq)]