This is forked with this other fork merged in https://github.com/maddie/gorm Reason why we need it is this issue https://github.com/jinzhu/gorm/issues/1672 Gorm does really inefficient matching when preloading many objects, this populates maps for faster lookup, taking our queries from 15+ minutes to dozens of seconds.
The fantastic ORM library for Golang, aims to be developer friendly.
- Full-Featured ORM (almost)
- Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
- Hooks (Before/After Create/Save/Update/Delete/Find)
- Preloading (eager loading)
- Transactions
- Composite Primary Key
- SQL Builder
- Auto Migrations
- Logger
- Extendable, write Plugins based on GORM callbacks
- Every feature comes with tests
- Developer Friendly
- GORM Guides http://gorm.io
You can help to deliver a better GORM, check out things you can do
© Jinzhu, 2013~time.Now
Released under the MIT License