has many fetch with join
This commit is contained in:
@@ -34,6 +34,12 @@ size_t postgres_result_reader::start_column_index() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void postgres_result_reader::unshift() {
|
||||
if (row_index_ > 0) {
|
||||
--row_index_;
|
||||
}
|
||||
}
|
||||
|
||||
void postgres_result_reader::read_value(const char * /*id*/, const size_t index, int8_t &value) {
|
||||
if (auto res = utils::to<int8_t>(column(index)); res.is_ok()) {
|
||||
value = res.value();
|
||||
|
||||
Reference in New Issue
Block a user