I'm trying to run a few queries on MongoDB playground extension. According to the documentation, the output of the queries should be shown in a terminal. However, A new file is opening up to display the result and the playground output tab of the terminal is empty.
How do I get it to show the result in the terminal?
Use print() or console.log() command
Note that print and console.log will print in the VS Code Output panel, while the result of the playground is displayed in an editor.
See https://www.mongodb.com/community/forums/t/print-function-in-vscode-extension-is-missing/103118/2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With