whereClause property

String whereClause

The attribute expression that defines features to be included in the statistics query.

The where clause should follow standard SQL syntax similar to that discussed in the document SQL reference for query expressions used in ArcGIS.

If the where clause includes dates, they must be correctly formatted based on the geodatabase datasource used in the service. Refer to Dates and time for date formats expected by different data sources.

ArcGISFeatureTable objects expect that any FieldType.globalId or FieldType.guid parameters in the where clause are formatted as: '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}'. All characters are uppercase, wrapped in curly braces and surrounded by single quotes.

Implementation

String get whereClause {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_StatisticsQueryParameters_getWhereClause(
        _handle, errorHandler);
  });
  return stringHandle.toDartString();
}
void whereClause=(String value)

Implementation

set whereClause(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_StatisticsQueryParameters_setWhereClause(
        _handle, coreValue.bytes, errorHandler);
  });
}