Adrian
05/23/2022, 8:44 AM// prisma.client.ts
export type Post {
decimal: Prisma.Decimal
}
// post.entity.ts
class Post {
decimal: string
}
// post.controller.ts
async function findOnePost(): Promise<Post> {
return prisma.post.findOne()
}
Jason Kleinberg
05/23/2022, 5:19 PMmysql
.Omar
05/23/2022, 10:19 PMNurul
05/24/2022, 7:41 AMAdrian
05/24/2022, 11:13 PMOmar
05/26/2022, 7:43 AM