You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-central/core/howto-query-with-rest-api.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,7 @@ The following limits apply in the `SELECT` clause:
126
126
- There's no wildcard operator.
127
127
- You can't have more than 15 items in the select list.
128
128
- 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
130
130
131
### Aliases
131
132
@@ -171,7 +172,7 @@ Use the `TOP` to limit the number of results the query returns. For example, the
171
172
}
172
173
```
173
174
174
-
If you don't use `TOP`, the query returns a maximum of 10,000 results.
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.
175
176
176
177
To sort the results before `TOP` limits the number of results, use [ORDER BY](#order-by-clause).
177
178
@@ -236,6 +237,7 @@ The following limits apply in the `WHERE` clause:
236
237
- You can use a maximum of 10 operators in a single query.
237
238
- In a telemetry query, the `WHERE` clause can only contain telemetry and device metadata filters.
238
239
- 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.
239
241
240
242
## Aggregations and GROUP BY clause
241
243
@@ -300,6 +302,8 @@ The current limits for queries are:
300
302
- Queries return a maximum of 10,000 records.
301
303
- The maximum length of a query string is 350 characters.
302
304
- 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.
0 commit comments