vw_orders
Creates, updates, deletes, gets or lists a vw_orders
resource.
Overview
Name | vw_orders |
Type | View |
Id | azure_extras.edge_order.vw_orders |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.orderItemIds') as "order_item_ids",
JSON_EXTRACT(properties, '$.currentStage') as "current_stage",
JSON_EXTRACT(properties, '$.orderStageHistory') as "order_stage_history",
JSON_EXTRACT(properties, '$.orderMode') as "order_mode",
subscriptionId,
resourceGroupName,
location,
orderName
FROM azure_extras.edge_order.orders
WHERE subscriptionId = 'replace-me';
SELECT
json_extract_path_text(properties, '$.orderItemIds') as "order_item_ids",
json_extract_path_text(properties, '$.currentStage') as "current_stage",
json_extract_path_text(properties, '$.orderStageHistory') as "order_stage_history",
json_extract_path_text(properties, '$.orderMode') as "order_mode",
subscriptionId,
resourceGroupName,
location,
orderName
FROM azure_extras.edge_order.orders
WHERE subscriptionId = 'replace-me';