mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 19:56:00 +00:00
Merge pull request #853 from jacobokeeffe-ow/fix/851-mongo-error-collstats
Fix 851: Loading mongo db structure fails when $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