You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
李光春
1099e35ff9
|
10 months ago | |
---|---|---|
.. | ||
callbacks | 12 months ago | |
clause | 10 months ago | |
logger | 10 months ago | |
migrator | 10 months ago | |
schema | 10 months ago | |
utils | 12 months ago | |
.gitignore | 2 years ago | |
.golangci.yml | 2 years ago | |
License | 2 years ago | |
README.md | 1 year ago | |
association.go | 1 year ago | |
callbacks.go | 1 year ago | |
chainable_api.go | 1 year ago | |
errors.go | 12 months ago | |
finisher_api.go | 12 months ago | |
gorm.go | 10 months ago | |
interfaces.go | 10 months ago | |
migrator.go | 1 year ago | |
model.go | 1 year ago | |
prepare_stmt.go | 10 months ago | |
scan.go | 1 year ago | |
soft_delete.go | 1 year ago | |
statement.go | 1 year ago |
README.md
GORM
The fantastic ORM library for Golang, aims to be developer friendly.
Overview
- 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 To Map
- SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
- Composite Primary Key
- Auto Migrations
- Logger
- Extendable, flexible plugin API: Database Resolver (Multiple Databases, Read/Write Splitting) / Prometheus…
- Every feature comes with tests
- Developer Friendly
Getting Started
- GORM Guides https://gorm.io
- Gen Guides https://gorm.io/gen/index.html
Contributing
You can help to deliver a better GORM, check out things you can do
Contributors
Thank you for contributing to the GORM framework!
License
© Jinzhu, 2013~time.Now
Released under the MIT License