You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resultant PostgreSQL query:
select "e1"."ID", "e1"."ID", "e1"."TIME", "e1"."THING_ID"
from "HIST_LOCATIONS" "e1" where "e1"."TIME"::text >= ? and "e1"."TIME"::text <= ?
order by "e1"."ID" asc
The text was updated successfully, but these errors were encountered:
A filter on time in API calls gives wrong result, as the resultant query takes time as "text" instead of "date"
API Call :
http://localhost:8080/SensorThingsService/v1.0/HistoricalLocations?$filter=(time ge '2017-05-19T10:10:27' and time le '2017-05-19T10:10:28')
Resultant PostgreSQL query:
select "e1"."ID", "e1"."ID", "e1"."TIME", "e1"."THING_ID"
from "HIST_LOCATIONS" "e1"
where "e1"."TIME"::text >= ? and "e1"."TIME"::text <= ?
order by "e1"."ID" asc
The text was updated successfully, but these errors were encountered: