> For the complete documentation index, see [llms.txt](https://clear.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clear.gitbook.io/project/model.md).

# Model

- [Defining your model](https://clear.gitbook.io/project/model/column-types.md)
- [Describing your columns](https://clear.gitbook.io/project/model/column-types/model-definition.md)
- [Primary Keys](https://clear.gitbook.io/project/model/column-types/primary-keys.md)
- [Converters](https://clear.gitbook.io/project/model/column-types/converters.md)
- [Associations](https://clear.gitbook.io/project/model/associations.md): Relation describes the interaction between different models. Clear handles 4 type of relation: Belongs to, Has Many, Has Many Through and Has One.
- [belongs\_to](https://clear.gitbook.io/project/model/associations/belongs_to.md)
- [has\_many](https://clear.gitbook.io/project/model/associations/has_many.md)
- [has\_many through](https://clear.gitbook.io/project/model/associations/has_many-through.md)
- [has\_one](https://clear.gitbook.io/project/model/associations/has_one.md)
- [Lifecycle](https://clear.gitbook.io/project/model/lifecycle.md)
- [Persistence](https://clear.gitbook.io/project/model/lifecycle/persistence.md)
- [Validations](https://clear.gitbook.io/project/model/lifecycle/validations.md)
- [Triggers](https://clear.gitbook.io/project/model/lifecycle/callbacks.md)
- [Batchs operations](https://clear.gitbook.io/project/model/batchs-operations.md)
- [Bulk update](https://clear.gitbook.io/project/model/batchs-operations/bulk-update.md)
- [Bulk insert & delete](https://clear.gitbook.io/project/model/batchs-operations/bulk-insert.md)
- [Transactions & Save Points](https://clear.gitbook.io/project/model/transactions-and-save-points.md)
- [Transaction & Savepoints](https://clear.gitbook.io/project/model/transactions-and-save-points/transaction.md)
- [Connection pool](https://clear.gitbook.io/project/model/transactions-and-save-points/connection-pool.md)
- [Locks](https://clear.gitbook.io/project/model/locks.md)
