postgrest-docs
postgrest-docs copied to clipboard
Add a hint how to prevent auto-updateability of a view
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.