Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stubbed FongoDB.getStat implementation #371

Merged
merged 1 commit into from
May 25, 2019

Conversation

connollyst
Copy link

Fixes issue #352 where calling FongoDB.getStats() would throw

com.github.fakemongo.FongoException: Not implemented for command : { "dbStats" : 1 , "scale" : 1}

Now it returns a CommandResult with an empty body. This could be expanded to return some real stats about Fongo, but at least now it doesn't error out.

@twillouer twillouer merged commit b5c9d4f into fakemongo:master May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants