mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
Fix error when mongo collstats not supported
This commit is contained in:
@@ -33,7 +33,7 @@ class Analyser extends DatabaseAnalyser {
|
||||
collections: [
|
||||
...collections.map((x, index) => ({
|
||||
pureName: x.name,
|
||||
tableRowCount: stats[index].count,
|
||||
tableRowCount: stats[index]?.count,
|
||||
})),
|
||||
...views.map((x, index) => ({
|
||||
pureName: x.name,
|
||||
|
||||
Reference in New Issue
Block a user