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

the SQL Database Configuration example in the documentation is inconsistent with the actual declared type #2898

Open
hotdogc1017 opened this issue Nov 21, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@hotdogc1017
Copy link

Environment

I want to configure a mysql connection (but it is not supported, db0 is supported), and follow the users template in the SQL database Configuration in the document to configure it, but a ts error is prompted. The error content is that url is not in the configuration item. In fact, the configuration can only be passed through options. The relevant type declaration code location is here

Reproduction

Link to page: https://nitro.build/guide/database#configuration

Describe the bug

Incorrect document example

Additional context

No response

Logs

No response

@hotdogc1017 hotdogc1017 changed the title The SQL Database Configuration example in the documentation is inconsistent with the actual declared type [DOCUMENTATION] The SQL Database Configuration example in the documentation is inconsistent with the actual declared type Nov 21, 2024
@pi0 pi0 added documentation Improvements or additions to documentation and removed pending triage labels Nov 21, 2024
@pi0 pi0 changed the title [DOCUMENTATION] The SQL Database Configuration example in the documentation is inconsistent with the actual declared type the SQL Database Configuration example in the documentation is inconsistent with the actual declared type Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants