sqlpp11
sqlpp11 copied to clipboard
Move values out of results
Hi Roland, I wish I could move non trivial values out of result fields, actually it returns a copy. Regards.
Hi Matthieu,
Sorry for the late reply. I guess this is mostly regarding text values?
Best, Roland
Hi Roland, Yes text and blob would be nice. Best. Matthieu
We could probably just add a .move() member to the result_field_base which would yield a _cpp_value_type&&.
Probably throw if it is null.
Do you want to give it a try?
I will, but don't know when.