introduced field_attributes shortcuts and added method on_base() to all processor classes
This commit is contained in:
@@ -27,6 +27,8 @@ public:
|
||||
return pk_;
|
||||
}
|
||||
|
||||
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) {
|
||||
if (!type_stack_.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user