introduced field_attributes shortcuts and added method on_base() to all processor classes
This commit is contained in:
@@ -18,7 +18,7 @@ struct optional {
|
||||
namespace field = matador::access;
|
||||
using namespace matador::utils;
|
||||
field::primary_key(op, "id", id);
|
||||
field::attribute(op, "name", name, 255);
|
||||
field::attribute(op, "name", name, VarChar255);
|
||||
field::attribute(op, "age", age);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user