ent/doc: add edge example for o2o 2 types

Reviewed By: alexsn

Differential Revision: D17045287

fbshipit-source-id: e62bce8c1935b844aa26712bb9dc574b525a275c
This commit is contained in:
Ariel Mashraki
2019-08-25 02:42:12 -07:00
committed by Facebook Github Bot
parent aaafde973b
commit 01c59f104c
29 changed files with 4060 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
# User-Card O2O Relation Example
An example for a O2O relation between a User and Card.
In the example, a User can have only one card, and a card must have exactly one owner (required edge).
### Generate Assets
```console
go generate ./...
```