Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation missing for sql_driver #3582

Open
YvanDaSilva opened this issue Sep 5, 2024 · 0 comments · May be fixed by #3583
Open

Documentation missing for sql_driver #3582

YvanDaSilva opened this issue Sep 5, 2024 · 0 comments · May be fixed by #3583
Labels
📚 mysql bug Something isn't working

Comments

@YvanDaSilva
Copy link

Version

1.27.0

What happened?

Missing configuration entry for driver change.
https://docs.sqlc.dev/en/stable/reference/config.html#go

Driver changes can be required by sqlc, such as when using :copyfrom
https://docs.sqlc.dev/en/stable/howto/insert.html#using-copyfrom

Relevant log output

No response

Database schema

No response

SQL queries

No response

Configuration

{
  "version": "2",
  "sql": [{
    "schema": "schema.sql",
    "queries": "query.sql",
    "engine": "mysql",
    "gen": {
      "go": {
        "out": "db",
        "sql_driver": "github.com/go-sql-driver/mysql"
      }
    }
  }]
}

Playground URL

No response

What operating system are you using?

No response

What database engines are you using?

No response

What type of code are you generating?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 mysql bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant