postgrest-docs icon indicating copy to clipboard operation
postgrest-docs copied to clipboard

Add a hint how to prevent auto-updateability of a view

Open wolfgangwalther opened this issue 5 years ago • 0 comments

Preventing auto-updateability for a simple view will allow the OpenAPI output to only show the GET and not the other request methods.

Just add the no-op OFFSET NULL to the view definition to achieve it.

See https://github.com/PostgREST/postgrest/issues/1647 for details.

wolfgangwalther avatar Nov 22 '20 21:11 wolfgangwalther