Rename index_name to index_uids

This commit is contained in:
Quentin de Quelen 2019-11-19 17:38:02 +01:00
parent 39e2b73718
commit e97e13ce9f
4 changed files with 47 additions and 4 deletions

View file

@ -251,7 +251,7 @@ impl Database {
self.env.copy_to_path(path, CompactionOption::Enabled)
}
pub fn indexes_names(&self) -> MResult<Vec<String>> {
pub fn indexes_uids(&self) -> MResult<Vec<String>> {
let indexes = self.indexes.read().unwrap();
Ok(indexes.keys().cloned().collect())
}