Closed komarapc closed 2 months ago
Thanks, looking into it. Is the error coming from the code above or from the generated db_gen.go
? Can you please also share your Go client version and your Prisma schema? Thanks!
Same issue encountered using version: github.com/steebchen/prisma-client-go v0.36.0 @steebchen
@kusaljr can you please share your schema, thank you 🙏
I'm using the default schema from documentation
datasource db {
// could be postgresql or mysql
provider = "sqlite"
url = "file:dev.db"
}
generator db {
provider = "go run github.com/steebchen/prisma-client-go"
}
model Post {
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
title String
published Boolean
desc String?
}
@steebchen
@steebchen problem using v0.37.0 on same schema
I'm using M2, go version go1.22.3 darwin/arm64
Hmm that's weird, can you please open a new issue? Thanks.
Select is undefined