forked from mirror/gorm
1013 B
1013 B
Summary
-
Getting Start {% for path, chapter in book.chapters %}
-
[{{ chapter.name }}]({{ path }}) {% for section in chapter.sections %}
- [{{ section.name }}]({{ section.path }}) {% endfor %} {% endfor %}
-
Models
- Model Defination
- Naming Conventions & Overriding
- Associations
- Belongs To
- Has One
- Has Many
- Many To Many
- Polymorphism
- Association Mode
-
CRUD: Reading and Writing Data
- Create
- Query
- Preloading (Eager Loading)
- Update
- Delete / Soft Delete
- Callbacks
-
Advanced Usage
- Error Handling
- Transactions
- Raw SQL & SQL Builder
- Composite Primary Key
- Overriding Logger
-
Development
- Write Plugins