feat(playground): Add clusteredIndex
option to createCollection playground template VSCODE-330
#409
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
VSCODE-330
This pr adds the
clusteredIndex
option to thecreateCollection
playground template. This template is opened when a user clicks to create a new database or collection.This pr also changes the behavior around where we would previously show the
time-series
collection creation configuration. Previously we had a separate template with these options more isolated, this pr removes the extra template and instead adds all of the options to one template.Since there are some behavioral changes I'm going to sync with Max before we merge this. I think we wantedSynced w/ Max, he's cool with removing the version gate on showing this feature.time-series
collections to be hidden until world in the past, however I think this had the side effect that after world, users on earlier MongoDB versions would not see thattime-series
collections are a thing and they might want to upgrade/investigate.I opted to always show the two with a comment about the required version. I was aiming to bring it inline with the template provided in the documentation: https://www.mongodb.com/docs/v5.3/reference/method/db.createCollection/
We're also adding a link to the
createCollection
documentation in the template forcreateCollection
in this pr.updated.create.collection.tempalte.vscode.mp4