Open mcronce opened 2 months ago
Took a whack at implementing what we discussed in https://github.com/diesel-rs/diesel/discussions/3605 (finally); I'm sure I need to add some documentation at minimum.
Notably, I copied most of the body of execute_returning_id() from execute_returning_count(), not sure if that's how you want to handle that or not
execute_returning_id()
execute_returning_count()
Might have overabstracted; I implemented it using traits for extensibility.
I'll have a follow-up in diesel_async once this is merged.
diesel_async
I don't think that that test failure has anything to do with my changes?
Took a whack at implementing what we discussed in https://github.com/diesel-rs/diesel/discussions/3605 (finally); I'm sure I need to add some documentation at minimum.
Notably, I copied most of the body of
execute_returning_id()
fromexecute_returning_count()
, not sure if that's how you want to handle that or notMight have overabstracted; I implemented it using traits for extensibility.
I'll have a follow-up in
diesel_async
once this is merged.