Add operator support to Timestamptz updates #483
theelderbeever
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
It's a good idea. The easiest to implement initially would be adding / substracting await Task.update({Task.completed_at: Task.completed_at + datetime.timedelta(days=1)}) |
Beta Was this translation helpful? Give feedback.
1 reply
-
I've implemented a first version of this - will release it now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to how it is shown in the docs for numeric types it would be awesome to be able to perform update operations using
Timestamptz
columns.So the basic idea being that updates treat values as
datetime
objects possibly? Maybe there is a separate way around this.Beta Was this translation helpful? Give feedback.
All reactions