Hi there people, how are you doing?
Started working with prisma recently and finding it great, but still having some troubles that i could not find the answers yet.
Right now, i am facing some trouble with floats, in my schema i have they like these:
nwValue Float @map(โnw_valueโ) @db.Float
And when i try to get it with $queryRaw, the returned value loses it precision even being saved with 2 decimal cases in the database.
After some fruitless attempts, i decided to use findMany method, but the returned value came as string (โ0.25").
My main interest is to use $queryRaw since i am implementing Prisma in an existing code with queries being called with mysql connector.
Some suggestion?