Generic Connection trait #2803
Unanswered
MarcAntoine-Arnaud
asked this question in
Q&A
Replies: 1 comment
-
There is already a That written, there is not much documentation for this topic as we normally discourage users going down this way as this leads to:
Improvements in this area are welcome, but will require quite substantial contributions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm starting to use Diesel, thanks for this great project !
I'm just a little bit disappointed regarding Connection. Currently everything need to be implement fro
PgConnection
,SqliteConnection
...I expected it can be a generic trait that allow a generic usage of queries.
Do you think it can be realist/complex ? Or just not needed right now ?
Or already available but not very well documented or I have not look at the right place ?
In my case I wanna to develop one code that support by default Sqlite, but with a configuration switch Postgres can also be used for the same application.
Thank you,
Marc-Antoine
Beta Was this translation helpful? Give feedback.
All reactions