fakemongo / fongo

faked out in-memory mongo for java
Apache License 2.0
523 stars 155 forks source link

getStats is not implemented internally #352

Open ghost opened 6 years ago

ghost commented 6 years ago

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().