Files
ent/examples/m2m2types
Ariel Mashraki bc89ed4e0f entc/gen: add type for type edges (#318)
Will be used for adding methods on the struct edges
2020-01-26 12:39:18 +02:00
..
2019-12-09 09:05:05 +02: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