Replies: 1 comment 8 replies
-
Given that the relevant |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I have a project that uses diesel_async with its postgres feature. In order to port the project to WebAssembly and run inside the browser, I was trying to use sqlite feature of diesel_async. However, I came across a lack of implementation of diesel_async's ExecuteDsl trait for sqlite backend for InsertStatement and BatchInsert structs, which is actually implemented for diesel's ExecuteDsl.
You can check this example to understand difference easily
I think sync version compiles thanks to implementation located at
diesel/src/query_builder/insert_statement/insert_with_default_for_sqlite.rs:215
which looks like:I tried to move
insert_with_default_for_sqlite.rs
into diesel_async and test whether it works, however, it causesconflicting implementation for
.I would like to add this missing implementation (if it is acceptable by diesel_async). But I first would like to get your opinions about this problem and how it should be solved.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions