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

NoSQL execute query #2217

Merged
merged 9 commits into from
Dec 5, 2023
Merged

Conversation

JasonYeMSFT
Copy link
Contributor

@JasonYeMSFT JasonYeMSFT commented Nov 29, 2023

resolves: #2206

This PR implements a query experience similar to the Mongo scapbook for Cosmos DB NoSQL databases. To use the feature, use the "Create New NoSQL Query" command or manually create a .nosql document and open it in VS Code.

image

Activate the database extension and then connect to a Cosmos DB NoSQL collection via the code lens.

image

Write a SQL-like query command in the document.

  • Use the "Execute" to get query results.
  • Use the "Execute with Query Metrics" to get both results and query metrics (e.g. query cost).
  • Use the "Get Query Plan" to get the parsed query plan from the written command.
image

@JasonYeMSFT JasonYeMSFT changed the title NoSQL execute query PoC NoSQL execute query Dec 1, 2023
@JasonYeMSFT JasonYeMSFT marked this pull request as ready for review December 1, 2023 19:16
@JasonYeMSFT JasonYeMSFT requested a review from a team as a code owner December 1, 2023 19:16
@JasonYeMSFT JasonYeMSFT merged commit d404afe into microsoft:main Dec 5, 2023
5 checks passed
@microsoft microsoft locked and limited conversation to collaborators Jan 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Query NoSQL DB
2 participants