An array of Object IDs representing aggregate (i.e.
Indicates if the service should cache the query results.
undefined
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#cacheHint)
Datum transformation used for projecting geometries in the query results when outSpatialReference is different than the layer's spatial reference.
Specifies a search distance from a given geometry in a spatial query.
Specifies the geodatabase version to display for feature service queries.
The geometry to apply to the spatial filter.
Specifies the number of decimal places for geometries returned by the JSON query operation.
Used only in statistical queries.
A condition used with outStatistics and groupByFieldsForStatistics to limit query results to groups that satisfy the aggregation function(s).
The historic moment to query.
The maximum distance in units of outSpatialReference used for generalizing geometries returned by the query operation.
When set, the maximum number of features returned by the query will equal the maxRecordCount of the service multiplied by this factor.
1
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#maxRecordCountFactor)
Parameter dictates how the geometry of a multipatch feature will be returned.
The number of features to retrieve.
An array of ObjectIDs to be used to query for features in a layer.
One or more field names used to order the query results.
Attribute fields to include in the FeatureSet.
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#outFields)
The spatial reference for the returned geometry.
The definitions for one or more field-based statistics to be calculated.
Filters features from the layer based on pre-authored parameterized filters.
Specifies the pixel level to be identified on the X and Y axis.
Used to project the geometry onto a virtual grid, likely representing pixels on the screen.
Filters features from the layer that are within the specified range values.
The Dimensionally Extended 9 Intersection Model (DE-9IM) matrix relation (encoded as a string) to query the spatial relationship of the input geometry to the layer's features.
If true, each feature in the returned FeatureSet will be returned with a centroid.
false
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#returnCentroid)
If true then the query returns distinct values based on the field(s) specified in outFields.
false
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#returnDistinctValues)
If true, then all features are returned for each tile request, even if they exceed the maximum record limit per query indicated on the service by maxRecordCount.
true
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#returnExceededLimitFeatures)
If true, each feature in the returned FeatureSet includes the geometry.
false
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#returnGeometry)
If true, and returnGeometry is true, then m-values are included in the geometry.
If true, the query geometry will be returned with the query results.
false
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#returnQueryGeometry)
If true, and returnGeometry is true, then z-values are included in the geometry.
For spatial queries, this parameter defines the spatial relationship to query features in the layer or layer view against the input geometry.
intersects
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#spatialRelationship)
This parameter can be either standard SQL92 standard or it can use the native SQL of the underlying datastore native.
none
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#sqlFormat)
The zero-based index indicating where to begin retrieving features.
Shorthand for a where clause using "like".
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#text)
A time extent for a temporal query against time-aware layers.
The unit for calculating the buffer distance when distance is specified in spatial queries.
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#units)
A where clause for the query.
Protected _getProtected _setProtected notifyConverts an instance of this class to its ArcGIS portal JSON representation.
Static fromJSONGenerated using TypeDoc
This class defines parameters for executing queries for features from a layer or layer view.
Read more...