(filter, dataType, type = 'SQL')
| 336 | } |
| 337 | |
| 338 | function 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 | |
| 349 | export { parseCondition, parseConditionFeature, mapboxFilterToQueryFilter }; |
no test coverage detected