The fantastic ORM library for Golang, aims to be developer friendly
Go to file
dependabot[bot] 1d9f4b0f55
chore(deps): bump actions/stale from 7 to 8 (#6190)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 10:27:05 +08:00
.github chore(deps): bump actions/stale from 7 to 8 (#6190) 2023-04-11 10:27:05 +08:00
callbacks feat: support nested join (#6067) 2023-03-10 17:21:56 +08:00
clause fix: `limit(0).offset(0)` return all data (#6191) 2023-04-11 10:25:47 +08:00
logger Upgrade tests deps 2023-01-01 22:22:08 +08:00
migrator Create and drop view (#6097) 2023-02-27 15:43:10 +08:00
schema fix: embedded should be nil if not exists (#6219) 2023-04-11 10:13:25 +08:00
tests fix: embedded should be nil if not exists (#6219) 2023-04-11 10:13:25 +08:00
utils feat: support nested join (#6067) 2023-03-10 17:21:56 +08:00
.gitignore Adjust ToStringKey use unpack params, fix pass []any as any in variadic function (#5500) 2022-07-14 20:05:22 +08:00
.golangci.yml feat: golangci add goimports and whitespace (#5835) 2022-11-05 08:37:37 +08:00
License Add MIT License file 2015-01-05 08:59:18 +08:00
README.md Fix use table.* as select/omit columns 2023-01-12 16:52:56 +08:00
association.go fix: association concurrently appending (#6044) 2023-02-18 09:19:24 +08:00
callbacks.go Allow modify statement from dest 2023-02-02 17:15:08 +08:00
chainable_api.go fix: miss join type (#6056) 2023-02-18 09:13:36 +08:00
errors.go feat: Unique Constraint Violation error translator for different drivers (#6004) 2023-03-06 14:03:31 +08:00
finisher_api.go avoid starting a transaction when performing only one insert operation in CreateInBatches function (#6174) 2023-03-23 14:02:35 +08:00
go.mod Fix Save with stress tests 2023-03-02 17:22:51 +08:00
go.sum Fix Save with stress tests 2023-03-02 17:22:51 +08:00
gorm.go refactor: translatorError flag added for backward compatibility (#6178) 2023-03-24 10:07:05 +08:00
interfaces.go feat: Unique Constraint Violation error translator for different drivers (#6004) 2023-03-06 14:03:31 +08:00
migrator.go Create and drop view (#6097) 2023-02-27 15:43:10 +08:00
model.go Issue 6054: Unscoped not working with PreLoad on Joins (#6058) 2023-02-18 09:06:43 +08:00
prepare_stmt.go cleanup(prepare_stmt.go): unnecessary map delete (#5849) 2022-11-13 11:12:09 +08:00
scan.go feat: support nested join (#6067) 2023-03-10 17:21:56 +08:00
soft_delete.go fix: support zeroValue tag on DeletedAt (#6011) 2023-02-01 14:40:55 +08:00
statement.go fix:throw model value required error (#6031) 2023-02-08 13:40:41 +08:00
statement_test.go fix: ignore nil query (#6021) 2023-02-02 17:54:51 +08:00

README.md

GORM

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

go report card test status 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

Contributors

Thank you for contributing to the GORM framework!

Contributors

License

© Jinzhu, 2013~time.Now

Released under the MIT License