DataGrip uses advanced - navigation and search (1)

1. Keyword Navigation:

When writing sql in the text editing area of ​​datagrip, hold down the Ctrl key on the keyboard and move the mouse to the sql keyword, such as table name, field name, or function name, the mouse will change into a hand shape, keyword It will turn blue and underlined, click it, it will automatically locate the object tree on the left, and select the clicked object



 2. Quickly navigate to the specified table, view, function, etc.:

In datagrip, use the Ctrl+N shortcut key to pop up a search box, enter the name to be navigated, and press Enter.



 3. Global search

Press the shift key twice in a row, or click the search icon in the upper right corner of the mouse to pop up the search box, search for anything you want to search



 4. Result set search

Click the mouse in the query result set view area, press the Ctrl+F shortcut key, a search box will pop up, enter the search content, support regular expressions, filter results



 

5. Navigate to Linked Data

There will be external inspection associations between tables. When querying, the associated data or associated data can be directly located. For example, the user1 table has an external inspection field classroom that points to the primary key id of the classroom table. When querying the classroom table data, you can Right click on the id field, go to, referencing data



 Choose whether to display the first data or all data



 The data of the associated table will be automatically opened



 On the contrary, when querying the data of the word table, it can also automatically locate the parent table

 

6. Result set data filtering

For the result set opened with table edit (select the table in the object tree, right-click -> table editor), you can use conditions to continue filtering the result set, as shown in the figure below, you can enter the where condition filter in the input section in the upper left corner of the result set



 

 You can also right-click on the column that needs to filter data, filter by



 

7, row to column

For tables with many fields, you need to push left and right to view the data, you can switch to column display, and use the Ctrl+Q shortcut key in the result set view area



 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326476077&siteId=291194637