Files
ent/examples/m2m2types
Ariel Mashraki da69615bd0 entc/gen: rename <type>.Order to <type>.OrderOption (#3468)
Also, avoid generting predicate without op in case a field named: order_option
2023-04-11 08:23:29 +03:00
..

Groups-Users M2M Relation

In this groups-users example, we have a M2M relation between groups and their users. Each group has many users, and each user can be joined to many groups.

Generate Assets

go generate ./...

Run Example

go test