Skip to content

How to set a custom target? #970

Closed Answered by steebchen
listepo asked this question in Q&A
Discussion options

You must be logged in to vote

You can do

generator db {
  provider         = "go run github.com/steebchen/prisma-client-go"
  # set output path (will be generated in `./your-path/db_gen.go`
  output           = "./your-path"
  # set package name (`package db`)
  package          = "db"
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@steebchen
Comment options

Answer selected by steebchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants