The fantastic ORM library for Golang, aims to be developer friendly
Go to file
s-takehana cf079b8b7d
Update version in `tests.yml` (#4432)
2021-06-02 09:58:22 +08:00
.github Update version in `tests.yml` (#4432) 2021-06-02 09:58:22 +08:00
callbacks Allow customize clauses 2021-04-28 17:19:30 +08:00
clause Fix Eq, Neq support slice of data 2021-05-31 17:21:27 +08:00
logger slim trace if depth (#4346) 2021-05-05 08:14:40 +08:00
migrator Respect ignore migration when add column (#4276) 2021-04-13 09:39:43 +08:00
schema Small grammar fix in error message (#4406) 2021-05-24 10:23:34 +08:00
tests Fix typo in associations_test.go (#4407) 2021-05-27 17:40:28 +08:00
utils fixed belongs_to & has_one reversed if field same (#4343) 2021-05-05 07:57:54 +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 invalid db error and value and invalid value length error (#4151) 2021-03-07 10:56:32 +08:00
callbacks.go Fix create new db sessions in scopes 2021-05-17 15:36:07 +08:00
chainable_api.go Call scopes before parse model value, close #4209 2021-03-24 16:35:39 +08:00
errors.go Fix ErrInvalidTransaction error message (#4380) 2021-05-17 15:53:48 +08:00
finisher_api.go Fix create new db sessions in scopes 2021-05-17 15:36:07 +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 Fix some typos (#4294) 2021-04-19 21:03:39 +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 some typos (#4294) 2021-04-19 21:03:39 +08:00
scan.go Fix context cancel error, close #4259, close #4260 2021-04-09 10:21:01 +08:00
soft_delete.go Fix soft delete with Update 2021-06-01 18:34:38 +08:00
statement.go golint standard (#4421) 2021-05-31 10:08:06 +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