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
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,8 @@ 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
+
- A property-based query returns a maximum of 1,000 records.
130
+
- A telemetry-based query returns a maximum of 10,000 records.
130
131
131
132
### Aliases
132
133
@@ -172,7 +173,7 @@ Use the `TOP` to limit the number of results the query returns. For example, the
172
173
}
173
174
```
174
175
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.
176
177
177
178
To sort the results before `TOP` limits the number of results, use [ORDER BY](#order-by-clause).
178
179
@@ -237,7 +238,8 @@ The following limits apply in the `WHERE` clause:
237
238
- You can use a maximum of 10 operators in a single query.
238
239
- In a telemetry query, the `WHERE` clause can only contain telemetry and device metadata filters.
239
240
- 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.
241
243
242
244
## Aggregations and GROUP BY clause
243
245
@@ -302,8 +304,8 @@ The current limits for queries are:
302
304
- Queries return a maximum of 10,000 records.
303
305
- The maximum length of a query string is 350 characters.
304
306
- 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.
0 commit comments