Updated on 2024-08-29 GMT+08:00

Opening a View

Views in PostgreSQL databases do not have primary keys and their data can only be queried.

Procedure

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose Database Management.
  7. On the displayed Objects page, choose Views. In the right pane, locate the view that you want to open and click Open in the Operation column.

    Figure 1 Opening a view

  8. Check view information on the details page or click Where Condition.

    Figure 2 Viewing details of a view

    Table 1 UI operations

    Name

    Description

    Where Condition

    Filters records.

    Copy Row

    Copies data of the selected row. Specifically, double-click the target row and then click Copy Row.

    Copy Column

    Allows you to copy all data in a column by selecting this column from the Copy Column drop-down list.

    Column Settings

    Allows you to set the columns you want to display.

    Refresh

    Allows you to update table data manually.

    Row Details

    Shows details of a specified row.