MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / mapboxFilterToQueryFilter

Function mapboxFilterToQueryFilter

src/common/util/FilterCondition.js:338–346  ·  view source on GitHub ↗
(filter, dataType, type = 'SQL')

Source from the content-addressed store, hash-verified

336}
337
338function mapboxFilterToQueryFilter(filter, dataType, type = 'SQL') {
339 if (type === 'SQL') {
340 return mapboxFilterToCqlFilter(filter, dataType);
341 }
342 if (type === 'XML') {
343 return mapboxFilterToWfsFilter(filter);
344 }
345 return '';
346}
347
348
349export { parseCondition, parseConditionFeature, mapboxFilterToQueryFilter };

Callers 1

Calls 2

mapboxFilterToCqlFilterFunction · 0.85
mapboxFilterToWfsFilterFunction · 0.85

Tested by

no test coverage detected