docs: improve pg views docs

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9325
GitOrigin-RevId: e2c668e6efd0a348fbc4bffbf63fb577f094e02d
This commit is contained in:
Rob Dominguez 2023-05-30 06:36:22 -05:00 committed by hasura-bot
parent 82d3cd477e
commit 3ac749fbfb

View File

@ -70,6 +70,14 @@ X-Hasura-Role: admin
</TabItem>
</Tabs>
:::info Allowing permissions on views
In order to generate create, update, and delete permissions for a view, it must be
[**insertable**](https://www.postgresql.org/docs/current/sql-createview.html#SQL-CREATEVIEW-EXAMPLES). Otherwise, you'll
only be able to generate read permissions (select) for the view.
:::
## Tracking views
Views can be present in the underlying Postgres database without being exposed over the GraphQL API. In order to expose