Files
ent/examples/m2m2types
Ariel Mashraki edd968490e entc/gen: use join for loading m2m relationship (#2417)
* entc/gen: use join for m2m relationship

* entc/gen: add test for eager-load inverse-m2m
2022-03-21 11:37:54 +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