Calling DB.getStats() results in an error as the command is not yet implemented internally. It would be good if either getStats is implemented with a fake implementation that is at least not throwing an exception (like buildInfo), or allow to hook own command implementations into FongoConnection.command().
Calling
DB.getStats()
results in an error as the command is not yet implemented internally. It would be good if eithergetStats
is implemented with a fake implementation that is at least not throwing an exception (like buildInfo), or allow to hook own command implementations intoFongoConnection.command()
.