The fantastic ORM library for Golang, aims to be developer friendly
Go to file
Jinzhu b8f33a42a4
Add unused argument (#4871)
* Append unused argument to gorm statement
2021-11-23 17:11:52 +08:00
.github Add unused argument (#4871) 2021-11-23 17:11:52 +08:00
callbacks feat(update): update when has SET clause 2021-11-09 19:55:47 +08:00
clause Add unused argument (#4871) 2021-11-23 17:11:52 +08:00
logger Don't query with primary key when using Save 2021-11-08 18:49:59 +08:00
migrator feat(migrator,migrator/migrator.go,tests/migrate_test.go) : Get multiple data tables for migrator. (#4841) 2021-11-13 14:03:33 +08:00
schema Stabilize schema.FieldsWithDefaultDBValue's order, close #4643 2021-11-08 20:20:55 +08:00
tests Add unused argument (#4871) 2021-11-23 17:11:52 +08:00
utils Add returning support to delete 2021-10-28 07:56:55 +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 Don't query with primary key when using Save 2021-11-08 18:49:59 +08:00
chainable_api.go Fix Join condition with DB 2021-09-28 22:37:15 +08:00
errors.go Fix ErrInvalidTransaction error message (#4380) 2021-05-17 15:53:48 +08:00
finisher_api.go Don't query with primary key when using Save 2021-11-08 18:49:59 +08:00
go.mod Bump github.com/jinzhu/now from 1.1.2 to 1.1.3 (#4865) 2021-11-23 11:39:42 +08:00
go.sum Bump github.com/jinzhu/now from 1.1.2 to 1.1.3 (#4865) 2021-11-23 11:39:42 +08:00
gorm.go Add ToSQL support to generate SQL string. (#4787) 2021-11-01 17:08:54 +08:00
interfaces.go Add GetDBConnector interface 2021-03-19 15:55:38 +08:00
migrator.go feat(migrator,migrator/migrator.go,tests/migrate_test.go) : Get multiple data tables for migrator. (#4841) 2021-11-13 14:03:33 +08:00
model.go Fix typo 2020-06-09 12:00:43 +08:00
prepare_stmt.go feat: ajust PreparedStmtDB unlock location and BuildCondition if logic (#4681) 2021-10-08 11:16:58 +08:00
scan.go Fix query with uninitialized map 2021-11-01 13:00:52 +08:00
soft_delete.go Add returning tests 2021-10-28 09:17:33 +08:00
statement.go Add unused argument (#4871) 2021-11-23 17:11:52 +08:00
statement_test.go Support specify select/omit columns with table 2021-10-08 17:51:27 +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