The following sections cover more advanced usages of GORM including caching, custom mapping and events.