renamed timestamp to timestamp_type_t
This commit is contained in:
@@ -114,7 +114,7 @@ void postgres_result_reader::read_value(const char * /*id*/, const size_t index,
|
||||
}
|
||||
}
|
||||
|
||||
void postgres_result_reader::read_value(const char * /*id*/, size_t index, utils::timestamp &value) {
|
||||
void postgres_result_reader::read_value(const char * /*id*/, size_t index, utils::timestamp_type_t &value) {
|
||||
if (const auto val = column(index); strlen(val) > 0) {
|
||||
}
|
||||
}
|
||||
@@ -224,7 +224,7 @@ void postgres_result_reader::read_value(const char * /*id*/, const size_t index,
|
||||
set_value<utils::date_type_t>(column(index), val);
|
||||
break;
|
||||
case utils::basic_type::DateTime: {
|
||||
set_value<utils::timestamp>(column(index), val);
|
||||
set_value<utils::timestamp_type_t>(column(index), val);
|
||||
break;
|
||||
}
|
||||
case utils::basic_type::Null: {
|
||||
|
||||
Reference in New Issue
Block a user