[{"data":1,"prerenderedAt":313},["ShallowReactive",2],{"docs-navigation":3,"docs-\u002Fdocs\u002Fdatabase-client":43},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","\u002Fdocs","docs",[9,14,19,25,31,37],{"title":10,"path":6,"stem":11,"navTitle":12,"order":13},"Overview","docs\u002Findex",null,1,{"title":15,"path":16,"stem":17,"navTitle":15,"order":18},"API client","\u002Fdocs\u002Fapi-client","docs\u002Fapi-client",3,{"title":20,"path":21,"stem":22,"navTitle":23,"order":24},"Inspecting and Querying Data","\u002Fdocs\u002Fdata-inspector","docs\u002Fdata-inspector","Data Inspector",5,{"title":26,"path":27,"stem":28,"navTitle":29,"order":30},"Connecting to Databases","\u002Fdocs\u002Fdatabase-client","docs\u002Fdatabase-client","Database Client",4,{"title":32,"path":33,"stem":34,"navTitle":35,"order":36},"Managing Environments and Variables","\u002Fdocs\u002Fenvironment-variable","docs\u002Fenvironment-variable","Environments & Variables",6,{"title":38,"path":39,"stem":40,"navTitle":41,"order":42},"Managing the Workspace","\u002Fdocs\u002Fworkspace","docs\u002Fworkspace","Workspace",2,{"id":44,"title":26,"body":45,"description":307,"extension":308,"meta":309,"navTitle":29,"navigation":310,"order":30,"path":27,"seo":311,"stem":28,"__hash__":312},"docs\u002Fdocs\u002Fdatabase-client.md",{"type":46,"value":47,"toc":297},"minimark",[48,52,56,92,97,105,171,181,185,191,204,207,211,214,242,246,257,262,282,286],[49,50,26],"h1",{"id":51},"connecting-to-databases",[53,54,55],"p",{},"The Database Client lets you connect to SQL and NoSQL databases, browse their structure, and execute queries. This feature is available only in the desktop application.",[57,58,59,72],"table",{},[60,61,62],"thead",{},[63,64,65,69],"tr",{},[66,67,68],"th",{},"Database",[66,70,71],{},"Supported Types",[73,74,75,84],"tbody",{},[63,76,77,81],{},[78,79,80],"td",{},"SQL",[78,82,83],{},"MySQL, PostgreSQL, SQLite",[63,85,86,89],{},[78,87,88],{},"NoSQL",[78,90,91],{},"MongoDB",[93,94,96],"h2",{"id":95},"managing-connections","Managing connections",[53,98,99,100,104],{},"Connections are stored in the ",[101,102,103],"code",{},"database-connections"," folder within your current workspace. To create a new connection:",[106,107,108,117,124,134,145,151,159,166],"ol",{},[109,110,111,112,116],"li",{},"Click the ",[113,114,115],"strong",{},"+"," button in the sidebar or within the Database view.",[109,118,119,120,123],{},"Select the ",[113,121,122],{},"Database type",".",[109,125,126,127,130,131,123],{},"Enter the ",[113,128,129],{},"Host"," and ",[113,132,133],{},"Port",[109,135,136,137,140,141,144],{},"Set a ",[113,138,139],{},"Display name"," (defaults to ",[101,142,143],{},"host:port",").",[109,146,147,150],{},[113,148,149],{},"Database name",": Enter a specific database to connect to, or leave empty to list all available databases.",[109,152,126,153,130,156,123],{},[113,154,155],{},"Username",[113,157,158],{},"Password",[109,160,161,162,165],{},"Click ",[113,163,164],{},"Test connection"," to verify the configuration.",[109,167,161,168,123],{},[113,169,170],{},"Save connection",[172,173,174],"blockquote",{},[53,175,176,180],{},[177,178,179],"span",{},"!NOTE","\nPasswords are not stored in your workspace files. They are securely saved in your operating system's keychain (Credential Manager on Windows, Keychain Access on macOS) and linked to the connection via a unique ID.",[93,182,184],{"id":183},"browsing-schemas","Browsing schemas",[53,186,187,188,190],{},"Use the ",[113,189,68],{}," view in the sidebar to explore your data hierarchy. You can expand connections to see:",[192,193,194,199],"ul",{},[109,195,196,198],{},[113,197,80],{},": Connection > Databases > Schemas > Tables.",[109,200,201,203],{},[113,202,88],{},": Connection > Databases > Collections.",[53,205,206],{},"Clicking on a table or collection will automatically open a new tab to view its contents.",[93,208,210],{"id":209},"executing-queries","Executing queries",[53,212,213],{},"The query editor supports standard SQL for relational databases and BSON-style JSON queries for MongoDB.",[192,215,216,226,236],{},[109,217,218,221,222,225],{},[113,219,220],{},"Variables",": Use ",[101,223,224],{},"{{variableName}}"," syntax to substitute environment variables into your queries.",[109,227,228,231,232,235],{},[113,229,230],{},"Keyboard Shortcut",": Press ",[101,233,234],{},"Ctrl + Enter"," to execute the current query.",[109,237,238,241],{},[113,239,240],{},"Autocomplete",": The editor provides suggestions for SQL keywords and table names based on the active connection.",[93,243,245],{"id":244},"inspecting-results","Inspecting results",[53,247,248,249,252,253,256],{},"Results are displayed in either a ",[113,250,251],{},"Table"," or ",[113,254,255],{},"JSON"," view.",[258,259,261],"h3",{"id":260},"table-view","Table view",[192,263,264,270,276],{},[109,265,266,269],{},[113,267,268],{},"Sorting",": Click column headers to sort the result set.",[109,271,272,275],{},[113,273,274],{},"Cell Viewer",": Double-click any cell to view its full content in a side panel. This is useful for large text blocks or JSON objects stored in columns.",[109,277,278,281],{},[113,279,280],{},"Metrics",": The row count and execution time are displayed in the results header.",[258,283,285],{"id":284},"json-view","JSON view",[53,287,288,289,291,292,296],{},"Switch to the ",[113,290,255],{}," view to use the ",[293,294,23],"a",{"href":295},"..\u002Fdocs\u002Fdata-inspector"," on the result set. This allows you to run JSONPath queries and search across the entire response body.",{"title":298,"searchDepth":42,"depth":42,"links":299},"",[300,301,302,303],{"id":95,"depth":42,"text":96},{"id":183,"depth":42,"text":184},{"id":209,"depth":42,"text":210},{"id":244,"depth":42,"text":245,"children":304},[305,306],{"id":260,"depth":18,"text":261},{"id":284,"depth":18,"text":285},"Run SQL and NoSQL queries against local or remote databases and inspect results in a tabular view.","md",{},true,{"title":26,"description":307},"irZZa5QucT3HIum_KM98IeXkIz6nrPJyc1cnSdmvRSE",1777473474819]