


To run a selection, highlight the part of the query or script to be executed and:

Button – Click on the second Run (play) button in the toolbar.To run a script at cursor, place the cursor at any top-level statement and: Right-click – Right-click anywhere in the Editor and choose Execute Entire Script.Button – Click on the Run (play) button in the toolbar.You can execute queries and scripts entirely, at cursor, or just a selection. Run queries via the mongo shell (Disable Query Assist) These errors are also noted in the left-hand sidebar as red crosses that you can hover over, and in the right-hand script overview ruler as clickable red markers that take you straight to the error line. IntelliShell highlights syntax errors as you type. Shortcut – Press Ctrl + Space (^ + Space).Right-click – Right-click anywhere in the Editor and choose Open Auto-Completion.Button – Click on the database icon, next to Enable Query Assist.You can trigger query auto-completion in three ways: IntelliShell detects and auto-suggests JavaScript standard library functions, shell-specific types and methods, operators, collection names, field names, and shell helper commands as you type. IntelliShell has two main sections: the top Editor section where you can write queries, commands, and scripts, and the bottom Result tab section where you can view the shell output. You can use Studio 3T’s Query Manager to set a default query. When you open IntelliShell on an existing collection, IntelliShell will open with the default query for that collection. Right-click – Right-click and choose Open IntelliShell.Button – Click on the IntelliShell button in the global toolbar.Launch IntelliShellĬhoose a target server, database, or collection in the Connection Tree, then open IntelliShell through three ways: IntelliShell is just one of four ways to query MongoDB in Studio 3T.
