mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
Summary: It's possible to execute: ``` client.Debug().T.Query().AllX(ctx) `` Reviewed By: alexsn Differential Revision: D17092159 fbshipit-source-id: 6d1c56e8e45cfd8e36b2700c9d450f2bd5f66a71
User-Friends Bidirectional M2M Relation
In this user-friends example, we have a symmetric M2M relation named friends.
Each user can have many friends. If user A becomes a friend of B, B is also a friend of A.
Generate Assets
go generate ./...