definitionExpression property

String definitionExpression

An expression (SQL where clause) to filter features queried in this table.

The definition expression string uses the SQL-92 where clause syntax (https://en.wikipedia.org/wiki/SQL-92). Be sure to escape special characters in the expression string as required for your platform. The DATE keyword expects the date format yyyy-mm-dd and the TIMESTAMP keyword expects the time stamp format yyyy-mm-dd hh:mm:ss. For more information, see the ArcGIS Blog article Querying Feature Services Date-Time Queries.

Implementation

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

Implementation

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