queryOption property
Whether all, filtered or no features will be copied from the server when creating a geodatabase.
Determines how other properties of the GenerateLayerOption are applicable, valid combinations are:
- GenerateLayerQueryOption.none to specify no features, or only related features as specified by the GenerateLayerOption.includeRelated property. When combined with SyncDirection.upload synchronization this option can be used for an efficient upload-only work-flow.
- GenerateLayerQueryOption.useFilter to filter features by geometry or where clause or both. The properties GenerateLayerOption.useGeometry and GenerateLayerOption.whereClause are applicable.
- GenerateLayerQueryOption.all all other properties are ignored, all features are returned
The default is GenerateLayerQueryOption.useFilter.
Implementation
GenerateLayerQueryOption get queryOption {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GenerateLayerOption_getQueryOption(
_handle, errorHandler);
});
return GenerateLayerQueryOption._fromCoreValue(coreValue);
}
Implementation
set queryOption(GenerateLayerQueryOption value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_GenerateLayerOption_setQueryOption(
_handle, value.coreValue, errorHandler);
});
}