Hi there people, how are you doing? Started workin...
# orm-help
m
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?
r
@Marcelo Pastore ๐Ÿ‘‹ This is a known issue and you can follow this for more updates ๐Ÿ™‚
m
Thank you @Ryan
๐Ÿ™Œ 1