You can use the MongoDB Extension for Github Copilot to export and test your application queries in playgrounds.
Note
The Export Code to Playground feature is only available if you enable MongoDB Extension for Github Copilot.
Export to Playground
Use the following steps to test your application code in a playground:
Once you export your code to a playground, you can click on the top right of your window to run your query.
You can also convert your code to a driver language with the Export to Language feature.
