Skip to content

Commit 64b9bb1

Browse files
Merge pull request #226506 from dominicbetts/central-limits-fix
IoT Central: fix query limits
2 parents bc5a0f8 + 071eec8 commit 64b9bb1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

articles/iot-central/core/howto-query-with-rest-api.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ The following limits apply in the `SELECT` clause:
126126
- There's no wildcard operator.
127127
- You can't have more than 15 items in the select list.
128128
- In a single query, you either select telemetry or properties but not both. A property query can include both reported properties and cloud properties.
129-
- A property-based query will return a maximum of 1,000 records. A telemetry data-based query can return up to 10,000 records.
129+
- A property-based query returns a maximum of 1,000 records.
130+
- A telemetry-based query returns a maximum of 10,000 records.
130131

131132
### Aliases
132133

@@ -172,7 +173,7 @@ Use the `TOP` to limit the number of results the query returns. For example, the
172173
}
173174
```
174175

175-
If you don't use `TOP`, the query returns a maximum of 10,000 results for a telemetry data-based query and 1,000 for a property-based query.
176+
If you don't use `TOP`, the query returns a maximum of 10,000 results for a telemetry-based query and a maximum of 1,000 results for a property-based query.
176177

177178
To sort the results before `TOP` limits the number of results, use [ORDER BY](#order-by-clause).
178179

@@ -237,7 +238,8 @@ The following limits apply in the `WHERE` clause:
237238
- You can use a maximum of 10 operators in a single query.
238239
- In a telemetry query, the `WHERE` clause can only contain telemetry and device metadata filters.
239240
- In a property query, the `WHERE` clause can only contain reported properties, cloud properties, and device metadata filters.
240-
- In a telemetry query, you can retrieve up to 10,000 records. In property query, you can retrieve up to 1,000 records.
241+
- In a telemetry query, you can retrieve up to 10,000 records.
242+
- In property query, you can retrieve up to 1,000 records.
241243

242244
## Aggregations and GROUP BY clause
243245

@@ -302,8 +304,8 @@ The current limits for queries are:
302304
- Queries return a maximum of 10,000 records.
303305
- The maximum length of a query string is 350 characters.
304306
- You can't use the wildcard (`*`) in the `SELECT` clause list.
305-
- Telemetry-based query can retrieve up to 10,000 records.
306-
- Property-based query can retrieve up to 1,000 records.
307+
- Telemetry-based queries can retrieve up to 10,000 records.
308+
- Property-based queries can retrieve up to 1,000 records.
307309

308310
## Next steps
309311

0 commit comments

Comments
 (0)