Skip to content

Commit 0e54b74

Browse files
authored
Update ObjectToArray
1 parent ac4ae45 commit 0e54b74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cosmos-db/nosql/query/objecttoarray.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ An array of elements with two fields, either `k` and `v` or custom-named fields.
4040

4141
This example demonstrates converting a static object to an array of field/value pairs using the default `k` and `v` identifiers.
4242

43-
:::code language="sql" source="~/cosmos-db-nosql-query-samples/scripts/objecttoarray/query.sql" highlight="2":::
43+
:::code language="sql" source="~/cosmos-db-nosql-query-samples/scripts/objecttoarray/query.sql" highlight="2-5":::
4444

4545
:::code language="json" source="~/cosmos-db-nosql-query-samples/scripts/objecttoarray/result.json":::
4646

4747
In this example, the field name is updated to use the `name` identifier.
4848

49-
:::code language="sql" source="~/cosmos-db-nosql-query-samples/scripts/objecttoarray-key/query.sql" highlight="2":::
49+
:::code language="sql" source="~/cosmos-db-nosql-query-samples/scripts/objecttoarray-key/query.sql" highlight="2-5":::
5050

5151
:::code language="json" source="~/cosmos-db-nosql-query-samples/scripts/objecttoarray-key/result.json":::
5252

5353
In this example, the value name is updated to use the `value` identifier and the field name uses the `key` identifier.
5454

55-
:::code language="sql" source="~/cosmos-db-nosql-query-samples/scripts/objecttoarray-key-value/query.sql" highlight="2":::
55+
:::code language="sql" source="~/cosmos-db-nosql-query-samples/scripts/objecttoarray-key-value/query.sql" highlight="2-5":::
5656

5757
:::code language="json" source="~/cosmos-db-nosql-query-samples/scripts/objecttoarray-key-value/result.json":::
5858

0 commit comments

Comments
 (0)