snapshot of https://github.com/ent/ent.git (master, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
16
examples/m2mrecur/README.md
Normal file
16
examples/m2mrecur/README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Following-Followers M2M Relation
|
||||
|
||||
In this following-followers example, we have a M2M relation between users to its followers. Each user
|
||||
can follow **many** users, and can have **many** followers.
|
||||
|
||||
### Generate Assets
|
||||
|
||||
```console
|
||||
go generate ./...
|
||||
```
|
||||
|
||||
### Run Example
|
||||
|
||||
```console
|
||||
go test
|
||||
```
|
||||
Reference in New Issue
Block a user