Commit Graph

  • 1305f637f8
    feat: add method GetIndexes (#5436) qqxhb 2022-06-17 11:00:57 +0800
  • 8d45714628
    fix: reset null value in slice (#5417) Cr 2022-06-14 13:48:50 +0800
  • d01de7232b
    enhancement: Avoid calling reflect.New() when passing in slice of values to `Scan()` (#5388) v1.23.6 Bexanderthebex 2022-06-01 11:50:57 +0800
  • f4e9904b02
    chore(deps): bump gorm.io/driver/mysql from 1.3.3 to 1.3.4 in /tests (#5385) dependabot[bot] 2022-06-01 10:26:09 +0800
  • 93986de8e4
    fix: migrate column default value (#5359) Cr 2022-05-28 23:09:13 +0800
  • dc1ae394f3
    fixed FirstOrCreate not handled error when table is not exists (#5367) t-inagaki@hum_op 2022-05-28 23:18:43 +0900
  • 7e13b03bd4
    fix: duplicate column scan (#5369) Cr 2022-05-28 22:18:07 +0800
  • 7d1a92d60e
    test: test for skip prepared when auto migrate (#5350) Cr 2022-05-22 16:12:28 +0800
  • 540fb49bcb
    Fixed #5355 - Named variables don't work when followed by Windows CRLF line endings (#5356) Clark McCauley 2022-05-22 01:16:01 -0600
  • 7496c3a56e
    fix: trx in hooks clone stmt (#5338) Cr 2022-05-17 14:13:41 +0800
  • f5e77aab2f
    fix: quote index when creating table (#5331) black-06 2022-05-17 10:59:53 +0800
  • 373bcf7aca
    fix: many2many auto migrate (#5322) Cr 2022-05-09 10:07:18 +0800
  • 19b8d37ae8
    fix: preload with skip hooks (#5310) Cr 2022-05-04 18:57:53 +0800
  • b0104943ed
    fix: callbcak sort when using multiple plugin (#5304) Cr 2022-04-30 09:57:16 +0800
  • d3488ae6bc
    fix: add judge result of auto_migrate (#5306) Heliner 2022-04-30 09:50:53 +0800
  • bd7e42ec65
    fix: AutoMigrate with special table name (#5301) Cr 2022-04-27 21:13:48 +0800
  • 6a6dfdae72 Refactor FirstOrCreate, FirstOrInit v1.23.5 Jinzhu 2022-04-26 17:16:48 +0800
  • 0211ac91a2
    index: add composite id (#5269) Chiung-Ming Huang 2022-04-25 11:39:23 +0800
  • a0cc631272
    test: test for postgrs serial column (#5234) Cr 2022-04-24 12:13:27 +0800
  • 3643f856a3
    check for pointer to pointer value (#5278) aelmel 2022-04-24 04:10:36 +0300
  • 9b80fe9e96
    fix: stmt.Changed zero value filed behavior (#5281) Cr 2022-04-24 09:08:52 +0800
  • 395606ac7c
    fix missing error-check in AutoMigrate (#5283) glebarez 2022-04-22 06:19:33 +0300
  • 88c26b62ee Support Scopes in group conditions Jinzhu 2022-04-20 17:21:38 +0800
  • b49ae84780
    fix: FindInBatches with offset limit (#5255) Cr 2022-04-17 09:58:33 +0800
  • e0ed3ce400
    fix spelling mistake (#5256) ZhangShenao 2022-04-14 20:32:57 +0800
  • d421c67ef5 Remove ErrRecordNotFound error from log when using Save Jinzhu 2022-04-14 10:51:39 +0800
  • ce53ea53ee
    chore(deps): bump actions/setup-go from 2 to 3 (#5243) dependabot[bot] 2022-04-13 15:53:12 +0800
  • 771cbed755
    chore(deps): bump actions/stale from 4 to 5 (#5244) dependabot[bot] 2022-04-13 15:52:40 +0800
  • a65912c588
    fix: FirstOrCreate RowsAffected (#5250) Cr 2022-04-13 15:52:07 +0800
  • 6aa6d37fc4
    Fix scanIntoStruct (#5241) Filippo Del Moro 2022-04-13 09:47:04 +0200
  • 74e07b049c Serializer unixtime support ptr of int Jinzhu 2022-04-11 22:07:40 +0800
  • 41bef26f13 Remove shared sync pool for Scanner compatibility Jinzhu 2022-04-11 21:37:02 +0800
  • 5c9ef9a843
    Set permissions for GitHub actions (#5237) Naveen 2022-04-09 20:38:43 -0500
  • 0729261b62 Support double ptr for Save Jinzhu 2022-04-08 14:23:25 +0800
  • 81c4024232
    Offset issue resolved for scanning results back into struct (#5227) Hasan 2022-04-07 21:56:41 +0600
  • 38a24606da fix: tables lost when joins exists in from clause, close #5218 v1.23.4 huangcheng1 2022-04-02 17:27:53 +0800
  • 9144969c83 Allow to use tag to disable auto create/update time Jinzhu 2022-04-02 17:17:47 +0800
  • f7b52bb649
    unify db receiver name (#5215) ZhangShenao 2022-04-01 08:35:16 +0800
  • cd0315334b
    fix: context missing in association (#5214) Goxiaoy 2022-04-01 08:33:39 +0800
  • 8333844f71
    fix variable shadowing (#5212) ZhangShenao 2022-03-31 20:57:20 +0800
  • ea8509b777 Use defer to close rows to avoid scan panic leak rows Jinzhu 2022-03-29 18:48:06 +0800
  • 9dd6ed9c65 Scan with Rows interface Jinzhu 2022-03-29 18:14:29 +0800
  • 6c827ff2e3
    chore(deps): bump actions/cache from 2 to 3 (#5196) dependabot[bot] 2022-03-28 19:55:05 +0800
  • 6d40a83432
    Update README.md qqxhb 2022-03-24 16:30:14 +0800
  • 3d7019a7c2
    fix: throw err if association model miss primary key (#5187) Cr 2022-03-24 09:34:06 +0800
  • 9a4d10be64
    style: fix coding typo (#5184) Jin 2022-03-24 09:31:58 +0800
  • f92e6747cb Handle field set value error Jinzhu 2022-03-23 17:24:25 +0800
  • a7b3b5956f Fix hooks order, close https://github.com/go-gorm/gorm.io/pull/519 Jinzhu 2022-03-22 22:42:36 +0800
  • d66f37ad32 Add Go 1.18 Jinzhu 2022-03-21 10:50:14 +0800
  • 2d5cb997ed
    style: fix linter check for NamingStrategy and onConflictOption (#5174) Jin 2022-03-20 09:02:45 +0800
  • 0097b39a77 Should ignore error when parsing default value for time, close #5176 Jinzhu 2022-03-20 08:55:08 +0800
  • 540b47571a Fix update select clause with before/after expressions, close #5164 Jinzhu 2022-03-18 20:57:33 +0800
  • d402765f69
    test: fix utils.AssertEqual (#5172) Cr 2022-03-18 20:11:23 +0800
  • 3c00980e01 fix: serializer use default valueOf in assignInterfacesToValue, close #5168 v1.23.3 ag9920 2022-03-18 17:12:17 +0800
  • e6f7da0e0d Support Variable Relation Jinzhu 2022-03-18 14:30:30 +0800
  • 5431da8caf fix: preload panic when model and dest different close #5130 chenrui 2022-03-18 13:38:46 +0800
  • c2e36ebe62 fix: soft delete for join, close #5132 chenrui 2022-03-18 01:07:49 +0800
  • 9b9ae325bb fix: circular reference save, close #5140 chenrui 2022-03-17 23:53:31 +0800
  • 2990790fbc
    Use WriteByte for single byte operations (#5167) Mikhail Faraponov 2022-03-17 16:54:30 +0200
  • f3e2da5ba3 Added offset when scanning the result back to struct, close #5143 Hasan 2022-03-17 22:51:56 +0800
  • 63ac66b569 Support default tag for time.Time Jinzhu 2022-03-17 11:34:27 +0800
  • 6befa0c947 Refactor preload error check Jinzhu 2022-03-17 11:22:25 +0800
  • 61b4c31236
    fix when index name is "type", parseFieldIndexes will set index TYPE is "TYPE" (#5155) labulakalia 2022-03-14 21:47:59 +0800
  • f961bf1c14
    chore(deps): bump actions/checkout from 2 to 3 (#5133) dependabot[bot] 2022-03-12 22:28:18 +0800
  • b566ed7913
    Merge pull request #5125 from CaoManhDat/master Jason Lee 2022-03-04 11:37:37 +0800
  • 29a8557384 ToSQL should enable SkipDefaultTransaction by default Cao Manh Dat 2022-03-03 09:17:29 +0700
  • 4e523499d1 Refactor Tx interface v1.23.2 Jinzhu 2022-03-01 16:48:46 +0800
  • 996b96e812 Add TxConnPoolBeginner and Tx interface lianghuan 2022-02-28 17:12:09 +0800
  • e2e802b837 Refactor Scan Jinzhu 2022-02-28 09:28:19 +0800
  • 43a72b369e Refactor Scan Jinzhu 2022-02-27 22:54:43 +0800
  • 530b0a12b4 Add fast path for ValueOf, ReflectValueOf Jinzhu 2022-02-27 22:10:17 +0800
  • 4d14ac39ff Merge branch 'a631807682-i5091' Jinzhu 2022-02-27 09:12:35 +0800
  • 68bb5379d9 Refactor scan into struct Jinzhu 2022-02-27 09:09:29 +0800
  • f2edda50e1 Refactor check missing where condition Jinzhu 2022-02-25 10:48:23 +0800
  • 397b583b8e fix: query scanner in single column chenrui 2022-02-25 22:38:48 +0800
  • 6a18a15c93 Refactor check missing where condition Jinzhu 2022-02-25 10:48:23 +0800
  • 3741f258d0
    feat: support gob serialize (#5108) jing1 2022-02-24 10:21:27 +0800
  • 45ef1da7e4
    Fix naming longer then 64 chars with dots in table (#5045) Michael Nussbaum 2022-02-23 21:10:20 -0500
  • b1201fce4e Fix update with customized time type, close #5101 Jinzhu 2022-02-23 17:48:13 +0800
  • 7837fb6fa0
    fix typo in TxCommitter interface comment & improve CheckTruth, chek val empty first (#5094) Qt 2022-02-20 21:19:15 +0800
  • 664c5fb767
    strings.replace -> strings.replaceAll (#5095) codingxh 2022-02-20 19:55:04 +0800
  • f3547e00cc
    Inherit clone flag (NewDB) on transaction creation (#5012) Gilad Weiss 2022-02-20 02:33:12 +0200
  • 5edc78116f Fixed the use of "or" to be " OR ", to account for words that contain "or" or "and" (e.g., 'score', 'band') in a sql statement as the name of a field. sammyrnycreal 2022-02-14 14:13:26 -0500
  • 48ced75d1d Improve support for AutoMigrate v1.23.1 Jinzhu 2022-02-19 23:42:20 +0800
  • e0b4e0ec8f Update auto stale days v1.23.0 Jinzhu 2022-02-19 17:08:11 +0800
  • 0af95f509a Enhance migrator Columntype interface (#5088) Jinzhu 2022-02-19 16:59:22 +0800
  • 39d84cba5f Add serializer support (#5078) Jinzhu 2022-02-16 15:30:43 +0800
  • 19ac396a22
    fix: isPrintable incorrect (#5076) li-jin-gou 2022-02-15 20:32:03 +0800
  • a0aceeb33e Migrator AlterColumn with full data type Jinzhu 2022-02-09 17:39:01 +0800
  • df2365057b Remove uncessary switch case Jinzhu 2022-02-09 17:23:16 +0800
  • 4eeb839cea Better support Stringer when explain SQL Jinzhu 2022-02-09 15:17:19 +0800
  • d22215129e
    fix: replace empty table name result in panic (#5048) li-jin-gou 2022-02-08 17:06:10 +0800
  • 416c4d0653 Test query with Or and soft delete Jinzhu 2022-02-08 16:31:24 +0800
  • 93b1a6f7ea
    Merge pull request #5043 from Saurabh-Thakre/patch-2 Jason Lee 2022-02-04 22:31:21 +0800
  • 581a879bf1
    Added comments to existing methods Saurabh Thakre 2022-01-31 17:26:28 +0530
  • f19b84d104 Fix github action Jinzhu 2022-01-30 22:32:34 +0800
  • 8d293d44dd Fix docker-compose test env for Mac M1 Jinzhu 2022-01-30 22:00:56 +0800
  • 8c3673286d
    preoload not allowd before count (#5023) Ning 2022-01-30 18:17:06 +0800
  • c0bea447b9
    fix: omit not work when use join (#5034) li-jin-gou 2022-01-28 22:16:42 +0800
  • 98c4b78e4d Add Session Initialized option Jinzhu 2022-01-28 19:26:10 +0800