gorm/README.md

47 lines
1.9 KiB
Markdown
Raw Normal View History

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)
2019-05-05 11:23:52 +03:00
[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
[![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)
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
2021-01-28 05:21:58 +03:00
* Context, Prepared Statement Mode, DryRun Mode
2020-06-22 15:22:15 +03:00
* Batch Insert, FindInBatches, Find To Map
2020-08-27 10:03:57 +03:00
* SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
2016-03-07 16:18:48 +03:00
* Composite Primary Key
* Auto Migrations
* Logger
2020-08-26 07:22:11 +03:00
* Extendable, flexible plugin API: Database Resolver (Multiple Databases, Read/Write Splitting) / Prometheus…
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
2019-05-05 11:23:52 +03:00
* GORM Guides [https://gorm.io](https://gorm.io)
2022-10-14 15:30:28 +03:00
* Gen Guides [https://gorm.io/gen/index.html](https://gorm.io/gen/index.html)
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
## Contributors
Thank you for contributing to the GORM framework!
[![Contributors](https://contrib.rocks/image?repo=go-gorm/gorm)](https://github.com/go-gorm/gorm/graphs/contributors)
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)