data-api-client icon indicating copy to clipboard operation
data-api-client copied to clipboard

Decimal columns are received as strings

Open idanlo opened this issue 4 years ago • 1 comments

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!

idanlo avatar Jan 11 '21 10:01 idanlo

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.

kurtfurbush avatar May 13 '21 17:05 kurtfurbush