getIncludesAndReferencesQuery
builds a query that will return entities that are "included" AND "referenced"
builds a query that will return entities that are "included" AND "referenced"
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| entity Required | HubEntity |
Hub entity |
|
| associationType Required | HubEntityType |
entity type to query for |
|
| isParent Required | boolean |
whether the provided Hub entity is the parent in the association relationship |
|
| context Required | IArcGISContext |
contextual auth and portal information |
Returns
| Property | Type | Notes |
|---|---|---|
| IFilter[] |
Filters that make up the query |
|
| EntityType |
What entity is this query targeting. This is used internally to ensure we query the correct API |
|
| Optional | Record<stringany> |
Additional properties. Useful for groupMember queries where we need to send in the groupId to construct the url |
Function defined in packages/common/src/associations/internal/getIncludesAndReferencesQuery.ts:25