Thanks to visit codestin.com
Credit goes to gorm.io
Docs
CLI
Gen
Community
API
Contribute
English
English
简体中文
Deutsch
bahasa Indonesia
日本語
Русский
한국어
हिन्दी
French
Italiano
Español
The fantastic ORM library for Golang
go get -u gorm.io/gorm
Full-Featured ORM
Associations (has one, has many, belongs to, many to many, polymorphism, single-table inheritance)
Hooks (before/after create/save/update/delete/find)
Eager loading with Preload, Joins
Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
Context, Prepared Statement Mode, DryRun Mode
Batch Insert, FindInBatches, Find/Create with Map, CRUD with SQL Expr and Context Valuer
SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, Named Argument, SubQuery
Composite Primary Key, Indexes, Constraints
Auto Migrations
Logger
Extendable, flexible plugin API: Database Resolver (multiple databases, read/write splitting) / Prometheus…
Every feature comes with tests
Developer Friendly
Gold Sponsors
Become a Sponsor!
Platinum Sponsors
Become a Sponsor!
Gold Sponsors
Become a Sponsor!
Platinum Sponsors
Become a Sponsor!
Home
Docs
CLI
Gen
Community
API
Contribute
English
English
简体中文
Deutsch
bahasa Indonesia
日本語
Русский
한국어
हिन्दी
French
Italiano
Español