fix(mongodb): collection-statistics mode - filter on collection only (#2787)

This commit is contained in:
qgarnier 2021-05-11 16:56:53 +02:00 committed by GitHub
parent bbcb316b4e
commit 5fd79cd307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ sub list_collections {
}
my $db = $self->{client}->get_database($options{database});
my @cls = $db->collection_names;
my @cls = $db->collection_names({ type => 'collection' });
return \@cls;
}