introduced field_attributes shortcuts and added method on_base() to all processor classes
This commit is contained in:
@@ -19,7 +19,7 @@ struct person {
|
||||
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, UniqueVarChar255);
|
||||
field::attribute(op, "age", age);
|
||||
field::attribute(op, "image", image);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user