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

Support mongodb 6.x.x and later #1349

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

bessw
Copy link

@bessw bessw commented Oct 15, 2023

Starting from mongodb version 6 the mongo shell is now called mongosh.

This pull request conditionally uses mongosh if a mongodb version 6 or later is configured or mongo for version 5 and previous.

Fixes #1341

use "mongosh" instead of "mongo" if the mongodb version is 6.x.x or later.
@jamesgibson14
Copy link

Thanks for this, I have used it successfully on my branch.

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.

use mongosh to support mongodb 6.x.x
2 participants