Entities and Objects: Description of Objects: View


For technical specifications regarding views can be found in the official documentation of PostgreSQL.

The window shown in the figures below, lets you change the properties of an object view.

As with all objects in a project, the area has a window where you must enter the name of the object, unique within the same project. The window is made up of four folders, grouping in the different logical characteristics of the object.



In Folder "Definition" you can enter the query on the SQL view. Basically, the procedure does not provide any control over the content of the query, but it is extracted the list of fields, in order to view them as detailed in the diagram of the project. An error in setting SELECT, also determines in an interpretation of this list, and thus a wrong representation in the graph. For new items are added automatically track the basis of SQL in order to facilitate the construction.



As with many other database objects, it is possible to define a description of view, which will be used in constructing the PostgreSQL database.



The third tab "Relations" presents a tree-structured list, which displays Any reports to the tables and views in the project, and detected by definition sight. The list is for informational purposes only, and has no function.



The last folder, exist in almost all the windows on object-oriented database, appear SQL commands on the building and the construction of instruction takes place in real time, and depends on the settings in the property contained in the current window.