subsets object within Entity JSON files.
Basic Subset Definition
Entity Structure

Subset Definition Rules
Selecting Relation Fields
OneToOne Relations
OneToOne relations are automatically LEFT JOINed. Selecting
employee.id will join the
employees table.Nested Relations (2+ Levels)
Subset Naming Strategy
General Conventions

Domain-Specific Subsets
Subset Design Principles
1. Minimum Fields Principle
2. Separate by Purpose
3. Performance Considerations
Performance Tips: - Minimize JOINs (only needed relations) - Use L Subset for list views
(exclude relations) - Use P Subset only for detail views (include relations)

Practical Example
User Entity
Code Generation
When you define Subsets, types are automatically generated:
Next Steps
Using Subsets
Use Subsets in Model
Nested Relations
Load 1:N with LoaderQuery
Entity Definition
Understanding Entity structure
Code Generation
Automatic code generation