The Query type exposes the following members.
Constructors
Properties
| Name | Description | |
|---|---|---|
| Geometry | The geometry to apply the spatial filter. The value of this is a VEShape. | |
| OutFields | The list of fields to be included in the returned resultset. This list is a array of field names. Note that if you specify the shape field in the list of return fields, it will be ignored. | |
| ReturnGeometry | If true, the resultset will include the geometries associated with each result. The default is true. | |
| SpatialRelationship | The spatial relationship to be applied on the input geometry while performing the query. The supported spatial relationships include intersects, contains, envelope intersects, within, etc. The default spatial relationship is intersects (esriSpatialRelIntersects).
Values: esriSpatialRelIntersects | esriSpatialRelContains | esriSpatialRelCrosses | esriSpatialRelEnvelopeIntersects | esriSpatialRelIndexIntersects | esriSpatialRelOverlaps | esriSpatialRelTouches | esriSpatialRelWithin | |
| Text | The literal search text. If the layer has a display field associated with it, the server will search for this text in this field. Note that this parameter will be ignored if the where parameter is specified. | |
| Where | A where clause for the query. It represents a where in a query filter. Any legal SQL where clause operating on the fields in the layer is allowed. Example: where=POP2000 > 350000 |
