Skip to content
ClickHouse Docs

viewIfPermitted

Autogenerated from ClickHouse system tables

Returns the result of a SELECT query as a view, but only if the current user has the permissions required to run it; otherwise it returns the result of the ELSE table function.