Closed christoph-heiss closed 2 years ago
I apologize that I have not replied so long. I have thought about it one or two hours per week.
Could you change as follows?
into_query_as
to into_result_set
into_query_as_named
to into_result_set_named
into_query
and into_query_named
(There are many query methods so I don't want to add new ones as possible.)I just pushed a new version with your suggestions incorporated.
Thanks for looking into it!
Hi,
basically as the title and commit message says. It mimics the interface of
Connection::query_*()
, which take ownership of the statement instead of borrowing it. I hope the method names are okay, but I'll happily rename them if there are any better suggestions.This can be used if
StatementBuilder
needs to be used, without having to store bothStatement
and theResultSet
in a struct together (which is quite painful in Rust to do).Thanks!