Hi I'm trying to output a decimal type from prisma as a number type. I'm trying to map my prisma result to a GRPC response and i need my output from prisma to be in the number type.
👀 1
a
Austin
09/27/2022, 9:56 PM
Hey @Collin 👋,
You will need to manually map the decimal type to a regular number type in your application code. Prisma does not offer automatic type mapping capabilities.
v
Vladi Stevanovic
10/03/2022, 10:10 AM
👋 Hello @Collin did you have a chance to try Austin's recommendation? Let us know if you still need help!