Initial documentation for ER diagrams

This commit is contained in:
Adrian Hall 2020-03-18 09:31:10 +00:00
parent a3b97f7c24
commit 3e76b2374c

View File

@ -0,0 +1,21 @@
# Entity Relationship Diagrams
> An entityrelationship model (or ER model) describes interrelated things of interest in a specific domain of knowledge. A basic ER model is composed of entity types (which classify the things of interest) and specifies relationships that can exist between entities (instances of those entity types). Wikipedia.
Mermaid can render ER diagrams
```
erDiagram
CUSTOMER !-?< ORDER : places
ORDER !-!< LINE-ITEM : contains
```
```mermaid
erDiagram
CUSTOMER !-?< ORDER : places
ORDER !-!< LINE-ITEM : contains
```
## Syntax
### Entities and Relationships
To be completed