Skip to content

Commit baa61b1

Browse files
Merge pull request #277358 from seesharprun/patch-5
Cosmos DB | Update NoSQL query `OFFSET LIMIT`
2 parents 860587f + c668216 commit baa61b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/nosql/query/offset-limit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ OFFSET <offset_amount> LIMIT <limit_amount>
3838

3939
For the example in this section, this reference set of items is used. Each item includes a ``name`` property.
4040

41-
:::code language="json" source="~/cosmos-db-nosql-query-samples/scripts/offset-limit/seed.json" range="1-2,4,6-7,9,11-12,14,16-17,19,21-22,24,26-27" highlight="3,6,9,12,15":::
41+
:::code language="json" source="~/cosmos-db-nosql-query-samples/scripts/offset-limit/seed.json" range="1-2,4-7,9-12,14-17,19-22,24-27" highlight="3,6,9,12,15":::
4242

4343
This example includes a query using the ``OFFSET LIMIT`` clause to return a subset of the matching items by skipping **one** item and taking the next **three**.
4444

45-
:::code language="nosql" source="~/cosmos-db-nosql-query-samples/scripts/offset-limit/query.sql" range="1-5,8-10" highlight="8":::
45+
:::code language="nosql" source="~/cosmos-db-nosql-query-samples/scripts/offset-limit/query.sql" highlight="10":::
4646

4747
:::code language="json" source="~/cosmos-db-nosql-query-samples/scripts/offset-limit/result.json":::
4848

0 commit comments

Comments
 (0)