Optimistic locking with Postgres in SQLx #3209
Unanswered
marvin-hsu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently using SQLx in Rust to query Postgres, and I'm trying to implement optimistic locking. Typically, in Postgres, I would use xmin for this purpose. However, when attempting to execute the following query:
I encounter a runtime error:
It seems that SQLx does not support this type directly. Does anyone have any ideas or suggestions on how to work around this issue?
Beta Was this translation helpful? Give feedback.
All reactions