introduced field_attributes shortcuts and added method on_base() to all processor classes
This commit is contained in:
@@ -22,7 +22,7 @@ struct location {
|
||||
void process(Operator &op) {
|
||||
namespace field = matador::access;
|
||||
field::primary_key(op, "id", id);
|
||||
field::attribute(op, "name", name, 255);
|
||||
field::attribute(op, "name", name, UniqueVarChar63);
|
||||
field::attribute(op, "coordinate", coord);
|
||||
field::attribute(op, "color", color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user