queryFeatures method

Future<FeatureQueryResult> queryFeatures(
  1. QueryParameters queryParameters
)

Submits a query against the table.

Parameters:

  • queryParameters — Options for controlling the operation.

Return Value: A Future that returns a FeatureQueryResult type.

Implementation

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