-
Notifications
You must be signed in to change notification settings - Fork 184
Add a codec for BigInteger #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
type: enhancement
A general enhancement
Comments
Sounds like a good fit for the driver. Do you want to submit a pull request for the codec along with some tests? |
Thank you for the quick response, I have opened pull request #235 to add the codec to the driver. |
mp911de
added a commit
that referenced
this issue
Jan 29, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to add support for the
BigInteger
type to the codecs.In our project we use r2dbc in combination with code generated by jooq (based on the sql schema). When a Numeric column has a scale of 0 (the default) and has a sufficiently high precision, the generated java type for the column is a
BigInteger
.I would like to be able to get the column value as this type from r2dbc by adding a codec similar to the
BigDecimalCodec
.I have currently written this codec in our own project but would like to add them to r2dbc-postgresql.
The text was updated successfully, but these errors were encountered: