Number converting to string #5993
Unanswered
gabrielwbenatti
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 new using Express JS, and I have a doubt
I'm making an API and i'm using Prisma ORM.
For example, I have a table named "purchases" and some decimal type columns. The return from theese database columns are numerics (as espected) but when my API is gonna response, thesse columns are turned as string.
My app is using
express.json()
to convert, but I don't know if I need to change another thingDatabase return
API response
Beta Was this translation helpful? Give feedback.
All reactions