Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zussel authored Jan 2, 2024
1 parent b5c3d89 commit 20e1ddc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ struct person
field::primary_key(op, "id", id);
field::attribute(op, "name", name, 255);
field::attribute(op, "birthday", birthday);
field::container(op, // operator
"person_color", // relation table name
colors, // class member
"person_id", // left column in relation table
"color", // right column in relation table
cascade_type::ALL); // cascade type
field::has_many(op, // operator
"person_color", // relation table name
colors, // class member
"person_id", // left column in relation table
"color", // right column in relation table
cascade_type::ALL); // cascade type
}
};

Expand Down

0 comments on commit 20e1ddc

Please sign in to comment.