microsoft / vscode-cosmosdb

Azure Databases extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb
MIT License
155 stars 68 forks source link

NoSQL execute query #2217

Closed JasonYeMSFT closed 9 months ago

JasonYeMSFT commented 9 months ago

resolves: https://github.com/microsoft/vscode-cosmosdb/issues/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.

image