an empty filter is currently parsed into an empty string
ohsome_filter_to_sql("")
('', ())
This cannot be used as is in a WHERE clause of a sql query, as the resulting query would result in something like SELECT … FROM … WHERE ; which is not valid SQL. It would be better if an empty filter string would result in a boolean expression equivalent to true (or alternatively fail to validate as a valid filter string).
an empty filter is currently parsed into an empty string
This cannot be used as is in a
WHEREclause of a sql query, as the resulting query would result in something likeSELECT … FROM … WHERE ;which is not valid SQL. It would be better if an empty filter string would result in a boolean expression equivalent to true (or alternatively fail to validate as a valid filter string).