FeatureLayerQueryParams

Interface

Query parameters for featuer layer.

Inheritance: FeatureLayerQueryParamsSqlQueryParams

Properties

PropertyTypeNotes
gdbVersion
 optional 
string

Specify the geodatabase version to be queried.

geometry
 optional 
IGeometry

The geometry of the spatial filter.

geometryPrecision
 optional 
number

This option can be used to specify the number of decimal places for the returned geometries.

string[]

One or more jimuFieldName by which the values will be grouped for calculating the statistics.

objectIds
 optional 
number[]

Object IDs of records to be queried.

orderByFields
 optional 
string[]

One or more jimuFieldName by which the features/records will be ordered. Use ASC for ascending and DESC for descending. The following fields are used to control the ordering. orderByFields is set to ASC (ascending order) by default if is unspecified.

outFields
 optional 
string[]

The list of fields to be included in the returned result set.

outStatistics
 optional 

The definitions for one or more field-based statistics to be calculated.

page
 optional 
number

Page number starts from 1, not 0.

pageSize
 optional 
number

Page size.

boolean

If true, it returns distinct values based on the fields specified in outFields.

returnGeometry
 optional 
boolean

If true, the geometry of each result feature will be returned.

returnM
 optional 
boolean

If true, m-values are included in the results if the features have m-values. Otherwise, m-values are not returned.

returnZ
 optional 
boolean

If true, z-values are included in the results if the features have z-values. Otherwise, z-values are not returned.

sqlFormat
 optional 
"none" | "standard" | "native"

The sqlFormat parameter can be either standard SQL-92 standard or it can use the native SQL of the underlying data store native.

time
 optional 
number | [voidvoid]

The time instant or the time extent to query. A null value specified for start time or end time will represent infinity for start or end time, respectively.

where
 optional 
string

A where clause for the query.

gdbVersion optional

gdbVersion: string

Specify the geodatabase version to be queried.

geometry optional

geometry: IGeometry

The geometry of the spatial filter.

geometryPrecision optional

geometryPrecision: number

This option can be used to specify the number of decimal places for the returned geometries.

groupByFieldsForStatistics optional

groupByFieldsForStatistics: string[]

One or more jimuFieldName by which the values will be grouped for calculating the statistics.

objectIds optional

objectIds: number[]

Object IDs of records to be queried.

orderByFields optional

orderByFields: string[]

One or more jimuFieldName by which the features/records will be ordered. Use ASC for ascending and DESC for descending. The following fields are used to control the ordering. orderByFields is set to ASC (ascending order) by default if is unspecified.

outFields optional

outFields: string[]

The list of fields to be included in the returned result set.

outStatistics optional

outStatistics: StatisticDefinition[]

The definitions for one or more field-based statistics to be calculated.

page optional

page: number

Page number starts from 1, not 0.

pageSize optional

pageSize: number

Page size.

returnDistinctValues optional

returnDistinctValues: boolean

If true, it returns distinct values based on the fields specified in outFields.

returnGeometry optional

returnGeometry: boolean

If true, the geometry of each result feature will be returned.

returnM optional

returnM: boolean

If true, m-values are included in the results if the features have m-values. Otherwise, m-values are not returned.

returnZ optional

returnZ: boolean

If true, z-values are included in the results if the features have z-values. Otherwise, z-values are not returned.

sqlFormat optional

sqlFormat: "none" | "standard" | "native"

The sqlFormat parameter can be either standard SQL-92 standard or it can use the native SQL of the underlying data store native.

time optional

time: number | [voidvoid]

The time instant or the time extent to query. A null value specified for start time or end time will represent infinity for start or end time, respectively.

where optional

where: string

A where clause for the query.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.