vw_views
Creates, updates, deletes, gets or lists a vw_views
resource.
Overview
Name | vw_views |
Type | View |
Id | azure_extras.customer_insights.vw_views |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.viewName') as "view_name",
JSON_EXTRACT(properties, '$.userId') as "user_id",
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.definition') as "definition",
JSON_EXTRACT(properties, '$.changed') as "changed",
JSON_EXTRACT(properties, '$.created') as "created",
subscriptionId,
resourceGroupName,
hubName,
viewName,
userId
FROM azure_extras.customer_insights.views
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND hubName = 'replace-me' AND userId = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.viewName') as "view_name",
json_extract_path_text(properties, '$.userId') as "user_id",
json_extract_path_text(properties, '$.tenantId') as "tenant_id",
json_extract_path_text(properties, '$.displayName') as "display_name",
json_extract_path_text(properties, '$.definition') as "definition",
json_extract_path_text(properties, '$.changed') as "changed",
json_extract_path_text(properties, '$.created') as "created",
subscriptionId,
resourceGroupName,
hubName,
viewName,
userId
FROM azure_extras.customer_insights.views
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND hubName = 'replace-me' AND userId = 'replace-me';