mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 08:26:29 +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: [
|
||||||
...collections.map((x, index) => ({
|
...collections.map((x, index) => ({
|
||||||
pureName: x.name,
|
pureName: x.name,
|
||||||
tableRowCount: stats[index].count,
|
tableRowCount: stats[index]?.count,
|
||||||
})),
|
})),
|
||||||
...views.map((x, index) => ({
|
...views.map((x, index) => ({
|
||||||
pureName: x.name,
|
pureName: x.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user