Entity Relationship (@er)
Planned Syntax
@er
[entities]
User
id: UUID PK
email: VARCHAR(255) UNIQUE
name: VARCHAR(100)
created_at: TIMESTAMP
Order
id: UUID PK
user_id: UUID FK
status: ENUM
total: DECIMAL
created_at: TIMESTAMP
OrderItem
id: UUID PK
order_id: UUID FK
product_id: UUID FK
quantity: INT
price: DECIMAL
Product
id: UUID PK
name: VARCHAR(255)
price: DECIMAL
stock: INT
[relationships]
User ||--o{ Order: places
Order ||--|{ OrderItem: contains
Product ||--o{ OrderItem: included_inUse Cases
Planned Features
Feature
Description
Relationship Notation
Notation
Meaning
Current Alternatives
Roadmap
Get Notified
Last updated