progress on combining foreign_node_completer and relation_completer
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ struct book {
|
||||
namespace field = matador::access;
|
||||
field::primary_key( op, "id", id );
|
||||
field::attribute( op, "title", title, 511 );
|
||||
field::belongs_to( op, "author_id", book_author, matador::utils::default_foreign_attributes );
|
||||
field::belongs_to( op, "author_id", book_author, matador::utils::CascadeNoneFetchLazy );
|
||||
field::attribute( op, "published_in", published_in );
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user