#Converting a query to use TypedSQL
2 messages · Page 1 of 1 (latest)
You decided to hold for human wisdom. We'll chime in soon! Meanwhile, #ask-ai is there if you need a quick second opinion.
2 messages · Page 1 of 1 (latest)
prisma.$transaction(data.map((match) => {
return prisma.match.update({
where: {
matchId: match.id,
},
data: {
fixtureData: match as unknown as InputJsonValue,
dateOfDay: match.date,
}
});
})
How would I be able to convert this to a TypedSQL query?
You decided to hold for human wisdom. We'll chime in soon! Meanwhile, #ask-ai is there if you need a quick second opinion.