Commit Graph

  • 04115485c0 fix: log trace should not log sql values Steven Soroka 2022-04-22 15:47:53 -04:00
  • 395606ac7c
    fix missing error-check in AutoMigrate (#5283) glebarez 2022-04-22 06:19:33 +03:00
  • a6435eff20 fix missing error-check in AutoMigrate glebarez 2022-04-21 17:48:35 +03:00
  • a508c23401
    chore: rename var a631807682 2022-04-21 14:28:08 +08:00
  • e331c04e1e
    fix: stmt.Changed zero value filed behavior a631807682 2022-04-21 14:11:33 +08:00
  • 98b9a1a85b revert to Ptr Alexei Melnic 2022-04-20 13:54:04 +03:00
  • bd5ea93897 check for pointer to pointer value Alexei Melnic 2022-04-20 13:34:19 +03:00
  • 88c26b62ee Support Scopes in group conditions Jinzhu 2022-04-20 17:21:38 +08:00
  • 6812f32843
    chore: spelling mistake a631807682 2022-04-20 11:39:32 +08:00
  • 31673d490c index: add composite id Chiung-Ming Huang 2022-04-18 11:40:52 +08:00
  • b49ae84780
    fix: FindInBatches with offset limit (#5255) Cr 2022-04-17 09:58:33 +08:00
  • e0ed3ce400
    fix spelling mistake (#5256) ZhangShenao 2022-04-14 20:32:57 +08:00
  • f9a86e9148
    fix: FindInBatches Limit zero a631807682 2022-04-14 19:14:46 +08:00
  • 2f5efc47d7 fix spelling mistake Shenao Zhang 2022-04-14 16:21:33 +08:00
  • 8b19b51425
    fix: break first a631807682 2022-04-14 15:25:02 +08:00
  • cd35587764
    fix: FindInBatches with offset limit a631807682 2022-04-14 15:11:56 +08:00
  • d421c67ef5 Remove ErrRecordNotFound error from log when using Save Jinzhu 2022-04-14 10:51:39 +08:00
  • ce53ea53ee
    chore(deps): bump actions/setup-go from 2 to 3 (#5243) dependabot[bot] 2022-04-13 15:53:12 +08:00
  • 771cbed755
    chore(deps): bump actions/stale from 4 to 5 (#5244) dependabot[bot] 2022-04-13 15:52:40 +08:00
  • a65912c588
    fix: FirstOrCreate RowsAffected (#5250) Cr 2022-04-13 15:52:07 +08:00
  • 6aa6d37fc4
    Fix scanIntoStruct (#5241) Filippo Del Moro 2022-04-13 09:47:04 +02:00
  • 2d835d560b
    fix: FirstOrCreate RowsAffected a631807682 2022-04-13 13:46:14 +08:00
  • 74e07b049c Serializer unixtime support ptr of int Jinzhu 2022-04-11 22:07:40 +08:00
  • 41bef26f13 Remove shared sync pool for Scanner compatibility Jinzhu 2022-04-11 21:37:02 +08:00
  • 7a03d303ee
    chore(deps): bump github.com/lib/pq from 1.10.4 to 1.10.5 in /tests dependabot[bot] 2022-04-11 07:07:44 +00:00
  • 758ed39172
    chore(deps): bump gorm.io/driver/postgres from 1.3.1 to 1.3.4 in /tests dependabot[bot] 2022-04-11 07:07:40 +00:00
  • 3d79318089
    chore(deps): bump actions/stale from 4 to 5 dependabot[bot] 2022-04-11 07:07:35 +00:00
  • 5a703ce4db
    chore(deps): bump actions/setup-go from 2 to 3 dependabot[bot] 2022-04-11 07:07:33 +00:00
  • 1ba3e5911c Fix scanIntoStruct Filippo Del Moro 2022-04-11 01:30:20 +02:00
  • b9a68bf626 Reproduces error case Filippo Del Moro 2022-04-11 01:30:15 +02:00
  • f67e70744e add test package baoyangchai 2022-04-10 19:26:26 +08:00
  • 76977dff1d add test baoyangchai 2022-04-10 19:23:33 +08:00
  • cc78470176 delete tearDown baoyangchai 2022-04-10 19:13:45 +08:00
  • a4977f8cae fix typor baoyangchai 2022-04-10 19:09:36 +08:00
  • 321f782c89 add test baoyangchai 2022-04-10 19:05:02 +08:00
  • 839e0e2c05 update george 2022-04-10 12:43:28 +08:00
  • 5c9ef9a843
    Set permissions for GitHub actions (#5237) Naveen 2022-04-09 20:38:43 -05:00
  • 02eb6126a4 Set permissions for GitHub actions naveensrinivasan 2022-04-10 00:09:25 +00:00
  • 5f300756b8 update george 2022-04-10 02:22:26 +08:00
  • d6c15a2353 update george 2022-04-10 02:07:25 +08:00
  • 09f8bd0ad4
    test: only for postgres a631807682 2022-04-09 18:03:14 +08:00
  • 68c3c24ca4
    test: test for postgrs sercial column a631807682 2022-04-09 17:50:51 +08:00
  • 0729261b62 Support double ptr for Save Jinzhu 2022-04-08 14:23:25 +08:00
  • 81c4024232
    Offset issue resolved for scanning results back into struct (#5227) Hasan 2022-04-07 21:56:41 +06:00
  • 26a80b0993 Offset issue resolved for scanning results back into struct Hasan 2022-04-05 00:18:51 +06:00
  • 5bfc042ba9 resolve conflicts Shenao Zhang 2022-04-04 17:51:18 +08:00
  • 2b183df6e7 fix variable shadowing in finisher_api Shenao Zhang 2022-04-04 16:59:43 +08:00
  • 2167eec198
    chore(deps): bump gorm.io/driver/sqlserver from 1.3.1 to 1.3.2 in /tests dependabot[bot] 2022-04-04 07:09:39 +00:00
  • 1633f3dcd8
    chore(deps): bump gorm.io/driver/mysql from 1.3.2 to 1.3.3 in /tests dependabot[bot] 2022-04-04 07:09:36 +00:00
  • 1b770c441c
    chore(deps): bump gorm.io/driver/postgres from 1.3.1 to 1.3.3 in /tests dependabot[bot] 2022-04-04 07:09:33 +00:00
  • c90013c901 before Update nil point panic leiyuqing 2022-04-03 12:13:32 +08:00
  • f07e779830 after Update nil point panic leiyuqing 2022-04-03 12:12:45 +08:00
  • 201bf96f8e add panic test leiyuqing 2022-04-03 12:04:01 +08:00
  • 46387c7b55 add panic test leiyuqing 2022-04-03 11:24:45 +08:00
  • 38a24606da fix: tables lost when joins exists in from clause, close #5218 v1.23.4 huangcheng1 2022-04-02 17:27:53 +08:00
  • 9144969c83 Allow to use tag to disable auto create/update time Jinzhu 2022-04-02 17:17:47 +08:00
  • 7abd781f45
    fix: "hasMany" only insert one row(#5220) kaisawind 2022-04-02 00:14:09 +08:00
  • 95d00e6ff2 fix: tables lost when joins exists in from clause huangcheng1 2022-04-01 16:30:27 +08:00
  • f7b52bb649
    unify db receiver name (#5215) ZhangShenao 2022-04-01 08:35:16 +08:00
  • cd0315334b
    fix: context missing in association (#5214) Goxiaoy 2022-04-01 08:33:39 +08:00
  • e3332bb54b unify db receiver name Shenao Zhang 2022-03-31 23:47:30 +08:00
  • c4108274cf fix: context missing in association Goxiaoy 2022-03-31 22:54:05 +08:00
  • 8333844f71
    fix variable shadowing (#5212) ZhangShenao 2022-03-31 20:57:20 +08:00
  • e3b488f610 fix variable shadowing Shenao Zhang 2022-03-31 19:02:16 +08:00
  • 22cee85879
    feat: alias map string interface a631807682 2022-03-30 15:10:44 +08:00
  • ea8509b777 Use defer to close rows to avoid scan panic leak rows Jinzhu 2022-03-29 18:48:06 +08:00
  • 9dd6ed9c65 Scan with Rows interface Jinzhu 2022-03-29 18:14:29 +08:00
  • 9eb6d44bcf
    refactor: provides error for finisher api updateable vaild a631807682 2022-03-29 14:26:29 +08:00
  • c9e5b3665c Quoted table name in join expression Lukas Jorg 2022-03-29 08:10:02 +02:00
  • 6c827ff2e3
    chore(deps): bump actions/cache from 2 to 3 (#5196) dependabot[bot] 2022-03-28 19:55:05 +08:00
  • 63cc06891e
    chore(deps): bump actions/cache from 2 to 3 dependabot[bot] 2022-03-28 07:08:47 +00:00
  • 5d0bc6e309 fix: db.Statement.ReflectValue不是指针型的时候AfterCreate, BeforeUpdate, AfterUpdate会panic leiyuqing 2022-03-27 20:52:56 +08:00
  • 68fddafbf9 fix: BeforeCreate, db.Statement.ReflectValue不是指针型的时候AfterCreate, BeforeUpdate, AfterUpdate会panic leiyuqing 2022-03-27 08:37:16 +08:00
  • 6d40a83432
    Update README.md qqxhb 2022-03-24 16:30:14 +08:00
  • 3d7019a7c2
    fix: throw err if association model miss primary key (#5187) Cr 2022-03-24 09:34:06 +08:00
  • 9a4d10be64
    style: fix coding typo (#5184) Jin 2022-03-24 09:31:58 +08:00
  • f92e6747cb Handle field set value error Jinzhu 2022-03-23 17:24:25 +08:00
  • 125e5dcba4
    fix: throw err if association model miss primary key a631807682 2022-03-23 12:17:20 +08:00
  • fab402601e style: fix coding typo ag9920 2022-03-23 10:44:44 +08:00
  • a7b3b5956f Fix hooks order, close https://github.com/go-gorm/gorm.io/pull/519 Jinzhu 2022-03-22 22:42:36 +08:00
  • 30de7d2a96
    chore(deps): bump github.com/jinzhu/now from 1.1.4 to 1.1.5 dependabot[bot] 2022-03-21 07:14:41 +00:00
  • d66f37ad32 Add Go 1.18 Jinzhu 2022-03-21 10:50:14 +08:00
  • 2d5cb997ed
    style: fix linter check for NamingStrategy and onConflictOption (#5174) Jin 2022-03-20 09:02:45 +08:00
  • 0097b39a77 Should ignore error when parsing default value for time, close #5176 Jinzhu 2022-03-20 08:55:08 +08:00
  • 9d5b6b5190 fix bug that default:CURRENT_TIMESTAMP Jerry 2022-03-20 01:52:27 +08:00
  • 50898604e0 style: fix linter check for NamingStrategy and onConflictOption ag9920 2022-03-19 12:32:59 +08:00
  • 540b47571a Fix update select clause with before/after expressions, close #5164 Jinzhu 2022-03-18 20:57:33 +08:00
  • d402765f69
    test: fix utils.AssertEqual (#5172) Cr 2022-03-18 20:11:23 +08:00
  • c20ec96192
    test: fix utils.AssertEqual a631807682 2022-03-18 18:02:37 +08:00
  • 3c00980e01 fix: serializer use default valueOf in assignInterfacesToValue, close #5168 v1.23.3 ag9920 2022-03-18 17:12:17 +08:00
  • e6f7da0e0d Support Variable Relation Jinzhu 2022-03-18 14:30:30 +08:00
  • 5431da8caf fix: preload panic when model and dest different close #5130 chenrui 2022-03-18 13:38:46 +08:00
  • fb9233011d fix: serializer use default valueOf in assignInterfacesToValue ag9920 2022-03-17 21:23:28 +08:00
  • c2e36ebe62 fix: soft delete for join, close #5132 chenrui 2022-03-18 01:07:49 +08:00
  • 9b9ae325bb fix: circular reference save, close #5140 chenrui 2022-03-17 23:53:31 +08:00
  • 2990790fbc
    Use WriteByte for single byte operations (#5167) Mikhail Faraponov 2022-03-17 16:54:30 +02:00
  • 2c1bc0bd65
    Merge 3bbc5c5793dddcbf5abf9b625659826adb5d4d87 into f3e2da5ba359f0d672249fc52f54ae41c5a66d3a Mikhail Faraponov 2022-03-17 22:53:47 +08:00
  • f3e2da5ba3 Added offset when scanning the result back to struct, close #5143 Hasan 2022-03-17 22:51:56 +08:00
  • 3bbc5c5793 Use WriteByte for single byte operations Mikhail Faraponov 2022-03-17 15:13:35 +02:00
  • 63ac66b569 Support default tag for time.Time Jinzhu 2022-03-17 11:34:27 +08:00