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

GODRIVER-3475 Correct CreateCollection and CreateView docs. #1933

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

Conversation

matthewdale
Copy link
Collaborator

@matthewdale matthewdale commented Feb 7, 2025

GODRIVER-3475

Summary

Update the CreateCollection and CreateView docs to reflect the new behavior of MongoDB version 7.0 and newer when the collection or view already exists.

Background & Motivation

For MongoDB 7.0 and 8.0, the collection/view creation command no longer returns an error if an existing collection/view with the same name and configuration already exists. The following note on the "create" command was added for 7.0:

If you try to create a collection or view that already exists and you provide identical options for that existing collection or view, no action is taken and success is returned.

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the priority-3-low Low Priority PR for Review label Feb 7, 2025
Copy link
Contributor

API Change Report

No changes found!

@matthewdale matthewdale force-pushed the godriver3475-fix-createcoll-doc branch from e05f1d1 to d3e6168 Compare February 7, 2025 17:42
@matthewdale matthewdale changed the title GODRIVER-3475 Correct CreateCollection docs. GODRIVER-3475 Correct CreateCollection and CreateView docs. Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-3-low Low Priority PR for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant