Currently it is possible to add filters to queries by calling filter() on a query: method definition
This method takes a string which is placed into the query which means that part of the query has to be defined manually.
Suggestion
It would be great if filters could be controlled with built-in methods.
A query could for example have a list of filters where each filter has a operation and a list of arguments.
This would provide a layer of abstraction so that users of the FROST-Client don't have to know the SensorThings API Syntax.
SensorThings API: query and filter functions
The SensorThings API offers many built-in query and filter functions for queries to the SensorThings Service. Some examples:
The full documentation can be found here: OGC SensorThings API Part 1: Sensing in section 9.3.3.5
Current state
Currently it is possible to add filters to queries by calling filter() on a query: method definition This method takes a string which is placed into the query which means that part of the query has to be defined manually.
Suggestion
It would be great if filters could be controlled with built-in methods. A query could for example have a list of filters where each filter has a operation and a list of arguments. This would provide a layer of abstraction so that users of the FROST-Client don't have to know the SensorThings API Syntax.