Prisma MySql Integration returns wrong keys in queries

const counted = await tx
.select({
count: count(),
})
.from(TableX)
.where(
eq(TableX.id, id),
)
const counted = await tx
.select({
count: count(),
})
.from(TableX)
.where(
eq(TableX.id, id),
)
Output
[{ 'count(*)': 1n }]
[{ 'count(*)': 1n }]
Keys get worse when using complex sql`` operator calls This makes unusable drizzle for me, I don't know how to get rid of the too many connnections problem when gradually adopting drizzle, I need some advise.🙏 Github issue here: https://github.com/drizzle-team/drizzle-orm/issues/2848
GitHub
[BUG]: Prisma mysql integration returns wrong keys with sql`` opera...
What version of drizzle-orm are you using? 0.33.0 What version of drizzle-kit are you using? 0.24.2 Describe the Bug I'm getting weird keys for the result objects For example : const counted = ...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server