progress on combining foreign_node_completer and relation_completer
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ struct author {
|
||||
field::attribute( op, "date_of_birth", date_of_birth, 31 );
|
||||
field::attribute( op, "year_of_birth", year_of_birth );
|
||||
field::attribute( op, "distinguished", distinguished );
|
||||
field::has_many( op, "books", books, "author_id", matador::utils::default_foreign_attributes );
|
||||
field::has_many( op, "books", books, "author_id", matador::utils::CascadeNoneFetchLazy );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user