fix(mongodb): collection-statistics mode - filter on collection only (#2787)
This commit is contained in:
parent
bbcb316b4e
commit
5fd79cd307
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue