Anyone?
# server
a
Anyone?
@Rich you are the only one online 🙂 Any idea?
k
a
But it there a solution?
not pure one
It's kind of basic to do it.//
So I'm trying running it with sql using prepareStatement. when i'm trying to calculate column based on existing one, (add 5 minutes) like that I get this error
image.png
Any idea?
j
You are trying to put a string into a timestamp column. If you drop the " min" after minutes and cast to a timezone it should work. SET estimated_affect_end_time = ?::timezone, ... so you cast the parameter to be of time timezone. My only concern is that you would need to get the timezone and then add the time in minutes to it and then set it. As it is written now won't work. Or change estimated_affect_end_time to be a character varying type. But this is why you are having a problem.