mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat(bin): sort db stats rows (#3125)
This commit is contained in:
@ -117,7 +117,10 @@ impl Command {
|
||||
]);
|
||||
|
||||
tool.db.view(|tx| {
|
||||
for table in tables::TABLES.iter().map(|(_, name)| name) {
|
||||
let mut tables =
|
||||
tables::TABLES.iter().map(|(_, name)| name).collect::<Vec<_>>();
|
||||
tables.sort();
|
||||
for table in tables {
|
||||
let table_db =
|
||||
tx.inner.open_db(Some(table)).wrap_err("Could not open db.")?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user