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

Provide new configuration keys for database URI. #1371

Open
ialdaverag opened this issue Sep 16, 2024 · 1 comment
Open

Provide new configuration keys for database URI. #1371

ialdaverag opened this issue Sep 16, 2024 · 1 comment

Comments

@ialdaverag
Copy link

I would like to know if it is possible to add new configuration keys regarding the following values of the database URI:

  • DIALECT
  • DRIVER
  • USERNAME
  • PASSWORD
  • HOST
  • PORT
  • DATABASE_NAME

I think this feature would be more convenient and explicit when defining the properties of the database we are connecting to, so that we would no longer have to write out the entire connection string, or it could simply be an alternative to writing it.

I have seen that the Flask-MySQL extension already has something similar to what I am proposing.

@ThiefMaster
Copy link
Contributor

Personally I find a single connection string much nicer...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants