session progress
This commit is contained in:
@@ -29,7 +29,7 @@ struct author_identity {
|
||||
void process(Operator &op) {
|
||||
namespace field = matador::access;
|
||||
field::primary_key(op, "id", id, utils::Identity);
|
||||
field::attribute(op, "first_name", name, VarChar63);
|
||||
field::attribute(op, "name", name, VarChar63);
|
||||
field::has_many(op, "books", books, "author_id", utils::CascadeAllFetchLazy);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user