introduced field_attributes shortcuts and added method on_base() to all processor classes
This commit is contained in:
@@ -22,6 +22,8 @@ public:
|
||||
return identifier_;
|
||||
}
|
||||
|
||||
template<typename BaseType>
|
||||
static void on_base(const BaseType&) {}
|
||||
template<typename ValueType>
|
||||
void on_primary_key(const char *id, ValueType &value, const utils::primary_key_attribute& attr) {
|
||||
utils::data_type_traits<ValueType>::read_value(reader_, id, column_index_, value, attr.size());
|
||||
|
||||
Reference in New Issue
Block a user