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

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

bessw
Copy link
Contributor

@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.

@juanpmd juanpmd mentioned this pull request Oct 9, 2024
5 tasks
@zodern zodern changed the base branch from master to 1.5.11 October 11, 2024 19:21
@zodern zodern merged commit 86d0702 into zodern:1.5.11 Oct 11, 2024
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
3 participants