flask-sqlalchemy icon indicating copy to clipboard operation
flask-sqlalchemy copied to clipboard

Provide new configuration keys for database URI.

Open ialdaverag opened this issue 1 year ago • 2 comments

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.

ialdaverag avatar Sep 16 '24 04:09 ialdaverag