AMD:
require(["esri/rest/networks/queryAssociations"], (queryAssociations) => { /* code goes here */ });
ESM:
import * as queryAssociations from "@arcgis/core/rest/networks/queryAssociations.js";
Object:
esri/rest/networks/queryAssociations
Since: ArcGIS Maps SDK for JavaScript 4.24
The utility network associations model connectivity, containment, and structure relations between assets. This function queries the associations table and return associations for network features in a utility network.
- See also
Method Overview
Name | Return Type | Summary | Object |
---|---|---|---|
Promise<QueryAssociationsResult> | Returns all associations filtered by the QueryAssociationsParameters in a utility network. | queryAssociations |
Method Details
-
queryAssociations
queryAssociations(url, props, requestOptions){Promise<QueryAssociationsResult>}
-
Returns all associations filtered by the QueryAssociationsParameters in a utility network.
ParametersReturnsType Description Promise<QueryAssociationsResult> When resolved, the associations results are returned.