2013-10-25 12:24:29 +04:00
# GORM
2014-01-03 10:54:47 +04:00
The fantastic ORM library for Golang, aims to be developer friendly.
2013-10-25 12:24:29 +04:00
2020-06-09 07:00:43 +03:00
[![go report card ](https://goreportcard.com/badge/github.com/go-gorm/gorm "go report card" )](https://goreportcard.com/report/github.com/go-gorm/gorm)
2020-06-22 18:14:17 +03:00
[![test status ](https://github.com/go-gorm/gorm/workflows/tests/badge.svg?branch=master "test status" )](https://github.com/go-gorm/gorm/actions)
2018-02-13 12:59:29 +03:00
[![Join the chat at https://gitter.im/jinzhu/gorm ](https://img.shields.io/gitter/room/jinzhu/gorm.svg )](https://gitter.im/jinzhu/gorm?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
[![Open Collective Backer ](https://opencollective.com/gorm/tiers/backer/badge.svg?label=backer&color=brightgreen "Open Collective Backer" )](https://opencollective.com/gorm)
[![Open Collective Sponsor ](https://opencollective.com/gorm/tiers/sponsor/badge.svg?label=sponsor&color=brightgreen "Open Collective Sponsor" )](https://opencollective.com/gorm)
2019-05-05 11:23:52 +03:00
[![MIT license ](https://img.shields.io/badge/license-MIT-brightgreen.svg )](https://opensource.org/licenses/MIT)
2020-06-12 15:00:55 +03:00
[![Go.Dev reference ](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white )](https://pkg.go.dev/gorm.io/gorm?tab=doc)
2014-11-24 07:38:42 +03:00
2013-10-28 06:09:44 +04:00
## Overview
2020-06-22 15:22:15 +03:00
* Full-Featured ORM
* Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism, Single-table inheritance)
2018-02-16 19:33:52 +03:00
* Hooks (Before/After Create/Save/Update/Delete/Find)
2020-06-22 15:22:15 +03:00
* 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
2016-03-07 16:18:48 +03:00
* Composite Primary Key
* Auto Migrations
* Logger
* Extendable, write Plugins based on GORM callbacks
2013-11-07 08:12:25 +04:00
* Every feature comes with tests
* Developer Friendly
2013-10-28 06:09:44 +04:00
2016-02-29 17:06:15 +03:00
## Getting Started
2014-04-02 12:59:07 +04:00
2019-05-05 11:23:52 +03:00
* GORM Guides [https://gorm.io ](https://gorm.io )
2016-02-29 17:06:15 +03:00
2018-02-13 12:59:29 +03:00
## Contributing
2016-02-29 17:06:15 +03:00
2019-05-05 11:23:52 +03:00
[You can help to deliver a better GORM, check out things you can do ](https://gorm.io/contribute.html )
2015-11-16 05:59:24 +03:00
2013-11-12 03:13:58 +04:00
## License
2018-02-13 13:12:09 +03:00
© Jinzhu, 2013~time.Now
2020-06-06 09:23:47 +03:00
Released under the [MIT License ](https://github.com/go-gorm/gorm/blob/master/License )
2020-06-02 04:16:07 +03:00