mirror of https://github.com/go-gorm/gorm.git
43 lines
2.2 KiB
Markdown
43 lines
2.2 KiB
Markdown
# GORM
|
|
|
|
The fantastic ORM library for Golang, aims to be developer friendly.
|
|
|
|
[](https://goreportcard.com/report/github.com/go-gorm/gorm)
|
|
[](https://github.com/go-gorm/gorm/actions)
|
|
[](https://gitter.im/jinzhu/gorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
[](https://opencollective.com/gorm)
|
|
[](https://opencollective.com/gorm)
|
|
[](https://opensource.org/licenses/MIT)
|
|
[](https://pkg.go.dev/gorm.io/gorm?tab=doc)
|
|
|
|
## 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 Statment 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](https://gorm.io)
|
|
|
|
## Contributing
|
|
|
|
[You can help to deliver a better GORM, check out things you can do](https://gorm.io/contribute.html)
|
|
|
|
## License
|
|
|
|
© Jinzhu, 2013~time.Now
|
|
|
|
Released under the [MIT License](https://github.com/go-gorm/gorm/blob/master/License)
|