Hi all, any suggestion how to run this kind of que...
# server
a
Hi all, any suggestion how to run this kind of query in postgresql with expose?
Copy code
UPDATE events_affecting_transit 
SET estimated_affect_end_time = estimated_affect_end_time + interval '5 hour'
WHERE current_timestamp > estimated_affect_end_time
when I'm trying do like that,
I get "Cannot cast exception"
t
No experience with exposed. But I would guess "estematedEffecttime as instant" gives you the error, since it's not actually an instant but a column
a
@Ties already tried, it says can cast estematedEffecttime as instant