From 0f64bca12deefbab6f3888ac0e19cf81dc678021 Mon Sep 17 00:00:00 2001 From: Brandon Thomson Date: Thu, 7 Nov 2024 11:40:55 -0700 Subject: [PATCH] Update SL order syntax for JDBC api The `-` needs to be nested in the quotes - tested this locally to ensure it works. --- website/docs/docs/dbt-cloud-apis/sl-jdbc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/dbt-cloud-apis/sl-jdbc.md b/website/docs/docs/dbt-cloud-apis/sl-jdbc.md index 9178d1e6592..d9ce3bf4fd1 100644 --- a/website/docs/docs/dbt-cloud-apis/sl-jdbc.md +++ b/website/docs/docs/dbt-cloud-apis/sl-jdbc.md @@ -519,7 +519,7 @@ select * from {{ semantic_layer.query(metrics=['food_order_amount', 'order_gross_profit'], group_by=[Dimension('metric_time')], limit=10, - order_by=[-'order_gross_profit']) + order_by=['-order_gross_profit']) }} ```