definitionExpression property

String definitionExpression

A SQL statement where clause that stipulates a subset of features to be displayed.

The definition expression string uses the SQL-92 where clause syntax (https://en.wikipedia.org/wiki/SQL-92). The default value is an empty string, which will allow all annotation features in the data source to be used by the AnnotationLayer.

Implementation

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

Implementation

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