The fantastic ORM library for Golang, aims to be developer friendly
Go to file
qiankunli cfbcedbf03
fix: support zeroValue tag on DeletedAt (#6011)
* fix: support zeroValue tag on DeletedAt

Signed-off-by: qiankunli <qiankun.li@qq.com>

* Update soft_delete_test.go

* Update tests_test.go

* Update soft_delete.go

---------

Signed-off-by: qiankunli <qiankun.li@qq.com>
Co-authored-by: Jinzhu <wosmvp@gmail.com>
2023-02-01 14:40:55 +08:00
.github update github tests action 2023-01-01 22:27:49 +08:00
callbacks feat: support inner join (#5583) 2022-12-24 12:27:38 +08:00
clause test(clause/joins): add join unit test (#5832) 2022-11-03 21:03:13 +08:00
logger Upgrade tests deps 2023-01-01 22:22:08 +08:00
migrator Fix unexpected alter table in auto migration, close #5942, #5943 2023-01-02 21:06:04 +08:00
schema Remove unnecessary code 2023-01-19 15:22:13 +08:00
tests fix: support zeroValue tag on DeletedAt (#6011) 2023-02-01 14:40:55 +08:00
utils fix bug in windows (#5844) 2022-11-21 10:48:13 +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 empty QueryClauses in association (#5502) (#5503) 2022-07-15 11:15:18 +08:00
callbacks.go Add ParameterizedQueries option support for logger, close #5288 2022-12-25 11:37:23 +08:00
chainable_api.go support implicit table alias, close #5840 #5940 2023-01-02 21:46:27 +08:00
errors.go preoload not allowd before count (#5023) 2022-01-30 18:17:06 +08:00
finisher_api.go Update func comments in chainable_api and FirstOr_ (#5935) 2022-12-23 16:51:01 +08:00
go.mod Replace `ioutil.Discard` with `io.Discard` (#5603) 2022-08-15 10:50:06 +08:00
go.sum Upgrade go.mod 2021-12-10 17:50:19 +08:00
gorm.go fix(migrator): ignore relationships when migrating #5913 (#5946) 2023-01-01 19:54:28 +08:00
interfaces.go Add ParameterizedQueries option support for logger, close #5288 2022-12-25 11:37:23 +08:00
migrator.go feat: migrator support type aliases (#5627) 2022-09-22 15:56:32 +08:00
model.go Fix typo 2020-06-09 12:00:43 +08:00
prepare_stmt.go cleanup(prepare_stmt.go): unnecessary map delete (#5849) 2022-11-13 11:12:09 +08:00
scan.go Add test case for embedded value selects (#5901) 2022-12-19 11:49:05 +08:00
soft_delete.go fix: support zeroValue tag on DeletedAt (#6011) 2023-02-01 14:40:55 +08:00
statement.go Fix use table.* as select/omit columns 2023-01-12 16:52:56 +08:00
statement_test.go Refactor: redundant type from composite literal (#5604) 2022-08-15 10:47:26 +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