queryFeatures method

Future<FeatureQueryResult> queryFeatures(
  1. {required QueryParameters parameters}
)

Submits a query against the table.

Parameters:

  • parameters — Options for controlling the operation.

Return Value: A Future that returns a FeatureQueryResult type.

Implementation

Future<FeatureQueryResult> queryFeatures(
    {required QueryParameters parameters}) {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_FeatureTable_queryFeatures(
        _handle, parameters._handle, errorHandler);
  });
  return taskHandle
      .toFuture((element) => element.getValueAsFeatureQueryResult()!);
}