Files
ent/examples/o2obidi
Ariel Mashraki 5bc8568069 all: add license reference to README and add copyright headers to gencode
Reviewed By: alexsn

Differential Revision: D17119262

fbshipit-source-id: 046f095ca9432c920778db0edb2158dedb23c0a2
2019-08-30 08:46:03 -07:00
..
2019-08-25 09:30:36 -07:00

User-Spouse Bidirectional O2O Relation

An example for a reflexive O2O relation between a User to its spouse (also a User).
Each user can have only one spouse. If a user A sets its spouse (using spouse) to B, B can get its spouse using the spouse edge.

Generate Assets

go generate ./...