2023-03-02 15:16:44 +07:00
2023-01-01 22:22:08 +08:00
2023-02-27 15:43:10 +08:00
2023-02-27 15:44:35 +08:00
2022-11-21 10:48:13 +08:00
2023-02-02 17:15:08 +08:00
2023-02-18 09:13:36 +08:00
2023-02-27 15:43:10 +08:00
2021-12-10 17:50:19 +08:00
2015-01-05 08:59:18 +08:00
2023-02-27 15:43:10 +08:00
2023-03-02 15:16:44 +07:00

GORM

Easy-to-use ORM lib for Golang.

go report card test status MIT license Go.Dev reference

Highlights

  • Full-featured ORM
  • Relationship types (Has one, Has many, Belong to, many to many, polymorphism, single-table inheritance)
  • Hooks (Before/After, Create/Save/Update/Delete/Find)
  • Eager loading by Preload, Joins
  • Transaction, nested transactions, savepoint, RollbackTo
  • 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
  • Migration
  • Logger
  • Extendable, flexible plugin API: Database resolver (Multiple databases, read/write splitting) / Prometheus…

Getting started

Contribute

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

Thank you for contributing to the GORM framework!

Contributors

License

© Jinzhu and GORM's committer, 2013 - 2023

Released under the MIT License

Description
The fantastic ORM library for Golang, aims to be developer friendly
Readme
Languages
Go 99.9%
Shell 0.1%