introduced field_attributes shortcuts and added method on_base() to all processor classes
This commit is contained in:
@@ -19,6 +19,8 @@ public:
|
||||
binder_ = nullptr;
|
||||
}
|
||||
|
||||
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);
|
||||
static void on_revision(const char * /*id*/, unsigned long long &/*rev*/) {}
|
||||
|
||||
Reference in New Issue
Block a user