Skip to content

QueryParameters

QueryParameters = object

Defined in: src/ExpoArcgis.types.ts:353

Criteria for a feature query. Mirrors the native QueryParameters.

optional geometry?: Geometry

Defined in: src/ExpoArcgis.types.ts:357

Geometry to test against, with spatialRelationship.


optional maxFeatures?: number

Defined in: src/ExpoArcgis.types.ts:361

Maximum number of features to return.


optional objectIds?: number[]

Defined in: src/ExpoArcgis.types.ts:365

Restrict the query to these object ids.


optional orderBy?: OrderByField[]

Defined in: src/ExpoArcgis.types.ts:367

Sort order of the results (object form with explicit ascending flag).


optional orderByFields?: string[]

Defined in: src/ExpoArcgis.types.ts:373

Sort order of the results as "FIELD [ASC|DESC]" strings, e.g. ['POP DESC', 'NAME ASC']. Parsed into native OrderBy objects; appended after any orderBy entries. Omitting the direction defaults to ascending.


optional outFields?: string[]

Defined in: src/ExpoArcgis.types.ts:382

Restrict which attribute fields are returned, e.g. ['NAME', 'POP']. Pass ['*'] or omit to include all fields (the default). Implemented as a post-query client-side filter on both platforms (the native QueryParameters does not expose per-field selection for queryFeatures).


optional resultOffset?: number

Defined in: src/ExpoArcgis.types.ts:375

Skip this many results (paging).


optional returnGeometry?: boolean

Defined in: src/ExpoArcgis.types.ts:363

Whether to include each feature’s geometry. Defaults to true.


optional spatialRelationship?: SpatialRelationship

Defined in: src/ExpoArcgis.types.ts:359

Spatial relationship for geometry. Defaults to intersects.


optional whereClause?: string

Defined in: src/ExpoArcgis.types.ts:355

SQL where clause (e.g. POP > 1000000).