data-api-client
data-api-client copied to clipboard
Decimal columns are received as strings
Hey there! Loving the library so far, much more comfortable than handling with the aws-sdk version.
When I'm selecting from a table fields that are of type DECIMAL, they are received as strings, is there a way to hydrate these to numbers? Like you are doing with dates.
Thank you!
Not a solution for the actual problem whatsoever but I just ran into this and realized I didn't need to be using full DECIMAL. FLOAT and DOUBLE hydrate as expected (numerical). Just leaving here in case someone else is searching.