queryAllFeatures
FunctionqueryAllFeatures(requestOptions: IQueryAllFeaturesOptions): Promise<IQueryAllFeaturesResponse>Query a feature service to retrieve all features. See REST Documentation for more information.
import { queryAllFeatures } from '@esri/arcgis-rest-feature-service';
queryAllFeatures({
url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/3",
where: "STATE_NAME = 'Alaska'"
})
.then(result)Parameters
| Parameter | Type | Notes |
|---|---|---|
request | IQueryAllFeaturesOptions | Options for the request |
Returns
Promise<IQueryAllFeaturesResponse>A Promise that will resolve with the query response.