JetBrains Rider 2024.3 Help

Filter data

While the Services tool window displays output of your queries, the data editor displays data of a database object as is.

The following topic shows how you can filter data in the data editor. For more information about working with query results in the Services tool window, refer to Query results.

In the data editor, you can filter data by using the following approaches:

  • You can use the local filter to filter rows by values in columns.

  • You can specify filtering conditions manually or use quick filtering options. Quick options are filtering conditions for the current column name. The conditions depend on the value in the current cell.

  • You can filter rows by pressing Ctrl+F and running a search on the table.

  • You can use the WHERE filter and filter data in a table by writing a query in the WHERE field.

For more information about filtering tables within a schema in Database tool window, see Speed search in tool windows.

Use the local filter

  1. Click the Enable Local Filter button on the toolbar.

  2. In the header of the column, click the filter icon that appears.

  3. To filter the rows by values, either select the values from the list or enter them into the text field.

  4. To filter the rows by values of more columns, click the filter icon and select the values for the other columns.

You can toggle the local filter on and off, JetBrains Rider remembers the filtering conditions.

Use quick filtering options

  1. Right-click a cell or multiple cells and navigate to Filter by.

  2. Select an option that you want to apply.

    Using quick filters
  1. Press Ctrl+F and select Filter Rows.

  2. Start typing your search query (for example, John).

    Quickly find data inside a table without writing a statement

Filter table data with a query

  1. In the WHERE field, type your query. The query syntax is the same as in the WHERE clause but without the keyword.

  2. Press Enter.

    To reset the filter, click the clear icon (The clear icon), or delete the contents of the row filter field and press Enter.

    To open the filter history, click the arrow icon near the WHERE keyword.

    WHERE and ORDER BY fields for sorting
Last modified: 29 August 2024