The fantastic ORM library for Golang, aims to be developer friendly
Go to file
dependabot[bot] e076e9e0fb
Bump gorm.io/gorm from 1.21.12 to 1.21.13 in /tests (#4616)
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.21.12 to 1.21.13.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.21.12...v1.21.13)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-20 17:52:48 +08:00
.github Update Dependencies (#4582) 2021-08-09 13:16:25 +08:00
callbacks update comment for ConvertSliceOfMapToValuesForCreate func 2021-07-28 18:56:39 +08:00
clause feat: QuoteTo accept clause.Expr (#4621) 2021-08-19 14:33:18 +08:00
logger chore(logger): explicitly set config of Default Logger (#4605) 2021-08-11 11:49:46 +08:00
migrator Fix create with ignore migration (#4571) 2021-08-09 13:23:44 +08:00
schema Add SchemaName to NamingStrategy 2021-08-11 16:20:29 +08:00
tests Bump gorm.io/gorm from 1.21.12 to 1.21.13 in /tests (#4616) 2021-08-20 17:52:48 +08:00
utils Fix calc gormSourceDir, close #4456 2021-06-13 10:32:03 +08:00
.gitignore Add field tag to ignore migration (#4028) 2021-02-09 16:03:02 +08:00
License Add MIT License file 2015-01-05 08:59:18 +08:00
README.md Fix typo in README (#4012) 2021-01-28 10:21:58 +08:00
association.go Code optimize (#4415) 2021-06-10 10:21:28 +08:00
callbacks.go Code optimize (#4415) 2021-06-10 10:21:28 +08:00
chainable_api.go fix: table couln't be reentrant (#4556) 2021-08-09 13:20:22 +08:00
errors.go Fix ErrInvalidTransaction error message (#4380) 2021-05-17 15:53:48 +08:00
finisher_api.go feat: count accpet `db`.`table` (#4626) 2021-08-20 17:37:21 +08:00
go.mod Add golang 1.16 2021-03-24 14:22:36 +08:00
go.sum Add golang 1.16 2021-03-24 14:22:36 +08:00
gorm.go Code optimize (#4415) 2021-06-10 10:21:28 +08:00
interfaces.go Add GetDBConnector interface 2021-03-19 15:55:38 +08:00
migrator.go Fix to call Scopes with using Migrator 2021-03-19 16:34:51 +08:00
model.go Fix typo 2020-06-09 12:00:43 +08:00
prepare_stmt.go Fix hang when closing a prepared statement 2021-07-14 18:35:10 +08:00
scan.go Fix scan into decimal.Decimal, close #4457 2021-07-13 19:59:31 +08:00
soft_delete.go Fix soft delete with Update 2021-06-01 18:34:38 +08:00
statement.go feat: QuoteTo accept clause.Expr (#4621) 2021-08-19 14:33:18 +08:00
statement_test.go Spelling fix for "condtion" -> "condition" (#3042) 2020-06-08 11:38:51 +08:00

README.md

GORM

The fantastic ORM library for Golang, aims to be developer friendly.

go report card test status Join the chat at https://gitter.im/jinzhu/gorm Open Collective Backer Open Collective Sponsor MIT license Go.Dev reference

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

Contributing

You can help to deliver a better GORM, check out things you can do

License

© Jinzhu, 2013~time.Now

Released under the MIT License