Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upConnection with dynamic backend based on connection string #1881
Comments
This comment has been minimized.
|
That's more or less out of scope for diesel, because diesel depends on compile time on knowing what database is used and then generates the corresponding sql specific to that database.
(Closed because this is nothing directly actionable for the diesel team. Use our discourse forum for feature requests.) |
weiznich
closed this
Oct 12, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
guangie88 commentedOct 12, 2018
Are there any plans to support
Connectionthat can switch to any of the supported database connections at runtime? Might look something like the following in Python SQLAlchemy.Connectiontrait object doesn't work due to trait object safety.It would be useful for code that can dynamically change the connection backend based on the connection string.