Commit Graph

  • 851fea0221
    fix: QuoteTo not fully support raw mode (#4735) River 2021-09-29 14:02:35 +08:00
  • 9762e5f3e8 fix: revert table alias quote riverchu 2021-09-29 13:21:35 +08:00
  • 72466413e8 test: clause.Column/Table quote test riverchu 2021-09-29 12:53:56 +08:00
  • 30b1846630 fix: table alias without AS riverchu 2021-09-29 12:53:26 +08:00
  • 43fb16a21f fix: QuoteTo not fully support raw mode riverchu 2021-09-29 12:30:09 +08:00
  • c4a2e891da Fix Join condition with DB Jinzhu 2021-09-28 22:37:15 +08:00
  • 002bf78ea7 Fix Join condition with DB, close #4719 Jinzhu 2021-09-28 21:43:12 +08:00
  • 6864a24150
    fix:remove the tableName judgment in pluck (#4731) kinggo 2021-09-27 22:11:29 +08:00
  • b1c76194df add test kinggo 2021-09-27 22:05:59 +08:00
  • 308b4e363f fix:remove the tableName judgment in pluck kinggo 2021-09-27 21:50:48 +08:00
  • 5202529ea1
    fix (clause/expression): Allow sql stmt terminator (#4693) Jim 2021-09-20 09:40:48 -04:00
  • 199c8529b6
    Bump gorm.io/driver/postgres from 1.1.0 to 1.1.1 in /tests (#4699) dependabot[bot] 2021-09-20 21:33:38 +08:00
  • 3695b1f4e8
    Bump gorm.io/driver/postgres from 1.1.0 to 1.1.1 in /tests dependabot[bot] 2021-09-20 13:31:07 +00:00
  • d67120a155
    Bump gorm.io/driver/sqlite from 1.1.4 to 1.1.5 in /tests (#4701) dependabot[bot] 2021-09-20 21:25:29 +08:00
  • ab355336cb Fix scan with interface Jinzhu 2021-09-17 18:35:14 +08:00
  • da16a8aac6 Update updated_at when upserting with Create OnConflict Jinzhu 2021-09-17 15:29:49 +08:00
  • 12bbde89e6 Fix Scan with interface Jinzhu 2021-09-17 14:04:19 +08:00
  • 61b018cb94 Fix count with selected * Jinzhu 2021-09-16 11:17:54 +08:00
  • 0e9bb664cd Fixed variable name Gerhard Gruber 2021-09-15 16:46:35 +02:00
  • f8938253ce Implemented small method to disable association saving Lukas Jorg 2021-09-14 07:16:10 +02:00
  • 98d691603d Created transaction wrapper Lukas Jorg 2021-09-13 08:30:27 +02:00
  • 4fc43d7b5d
    Bump gorm.io/driver/sqlite from 1.1.4 to 1.1.5 in /tests dependabot[bot] 2021-09-13 07:14:05 +00:00
  • e7511ba1bc
    Bump gorm.io/gorm from 1.21.14 to 1.21.15 in /tests dependabot[bot] 2021-09-13 07:13:55 +00:00
  • d41fb3acdc Refactor dummy driver QuoteTo method Jinzhu 2021-09-11 16:22:35 +08:00
  • 60da40791f belongsToSameForeignKey fixed and reverted old fix Paras 2021-09-10 19:20:31 +05:30
  • 37c225f4c8
    Merge branch 'go-gorm:master' into master Paras Waykole 2021-09-10 18:19:16 +05:30
  • ab75c5557d fix (clause/expression): Allow sql stmt terminator Jim 2021-09-10 07:28:40 -04:00
  • dc6e96c59c docs: Update readme regarding purpose of fork. Jim 2021-09-10 07:13:05 -04:00
  • 076dd3a8a8 feat: adjust SetupJoinTable func if..else code daheige 2021-09-09 21:24:01 +08:00
  • f266765612 feat: ajust PreparedStmtDB unlock location and BuildCondition if logic daheige 2021-09-09 21:20:33 +08:00
  • 04f049c1da Add tests for RowsAffected v1.21.15 Jinzhu 2021-09-09 11:22:55 +08:00
  • 0caca1a6f9 Remove WHERE word Gerhard Gruber 2021-09-08 09:01:03 +02:00
  • 099a4048ae Fixed bind variable resolution Gerhard Gruber 2021-09-08 08:55:17 +02:00
  • 4d92c6df26 Removed duplicated method Gerhard Gruber 2021-09-08 08:19:34 +02:00
  • c4a4f834f7 Added GetSQLWhereClause Gerhard Gruber 2021-09-08 08:04:46 +02:00
  • 9cf19aaa35 Added GetSQL method Gerhard Gruber 2021-09-07 20:59:42 +02:00
  • fc3075afe8
    Merge branch 'master' into refactor-some-if heige 2021-09-07 22:16:51 +08:00
  • 61bc71a53b refactor if...else and for logic daheige 2021-09-07 22:07:04 +08:00
  • a16db07945 Refactor Join ON Jinzhu 2021-09-07 21:21:44 +08:00
  • ba16b2368f
    Refactor update record (#4679) Jinzhu 2021-09-07 20:04:54 +08:00
  • 2b6789c2d7 Refactor update record Jinzhu 2021-09-07 18:48:40 +08:00
  • 6c94b07e98 try to fix fatal error: concurrent map read and map write Jinzhu 2021-09-07 15:30:14 +08:00
  • 492c6ee070 Merge remote-tracking branch 'upstream/master' riverchu 2021-09-07 13:08:52 +08:00
  • 3b6a7c8aec Update sqlserver driver Jinzhu 2021-09-07 12:01:19 +08:00
  • d047f854e6 PR Comments Adrien Carreira 2021-08-28 10:27:19 +02:00
  • c301aeb524 Refactor for readability Adrien Carreira 2021-07-18 12:04:18 +02:00
  • 52cc438d07 JoinsOn unit test + use all primary keys Adrien Carreira 2021-07-17 15:45:15 +02:00
  • 895c1178a0 Proposal, Add Specific on for Joins queries Adrien Carreira 2021-07-08 10:04:40 +02:00
  • eaa63d15e7 feat: copy dest fields to model struct riverchu 2021-09-05 23:12:24 +08:00
  • 4581e8b590 test: update Save test riverchu 2021-09-05 23:07:28 +08:00
  • c898622791 test: add testcase in TestSave riverchu 2021-09-05 11:10:48 +08:00
  • 1d9e563023 style: prepose error judgement riverchu 2021-09-03 23:09:20 +08:00
  • a89d4d8fd5
    Bump github.com/lib/pq from 1.10.2 to 1.10.3 in /tests (#4676) dependabot[bot] 2021-09-06 16:26:14 +08:00
  • 9f987d5696
    Bump github.com/lib/pq from 1.10.2 to 1.10.3 in /tests dependabot[bot] 2021-09-06 07:17:09 +00:00
  • 54d701c082 feat: copy dest fields to model struct riverchu 2021-09-05 23:12:24 +08:00
  • b40359b13e test: update Save test riverchu 2021-09-05 23:07:28 +08:00
  • 9a08842dc7 test: add testcase in TestSave riverchu 2021-09-05 11:10:48 +08:00
  • 6d664a1a0c style: prepose error judgement riverchu 2021-09-03 23:09:20 +08:00
  • 5f019f74bf
    Bump gorm.io/gorm from 1.21.13 to 1.21.14 in /tests (#4655) dependabot[bot] 2021-09-03 17:47:50 +08:00
  • 15188cf409
    Add Go 1.17 (#4666) jxlwqq 2021-09-03 17:47:32 +08:00
  • 4d291f68b9 docs: add some comment Laisky.Cai 2021-09-03 06:05:28 +00:00
  • c6511a0dc6 feat: support unique Laisky.Cai 2021-09-03 05:46:22 +00:00
  • 6c4fd3fe22
    Add Go 1.17 jxlwqq 2021-09-02 16:33:15 +08:00
  • 28812e0b65
    Bump gorm.io/gorm from 1.21.13 to 1.21.14 in /tests dependabot[bot] 2021-08-30 07:09:22 +00:00
  • 189f3393ca
    PR Comments Adrien Carreira 2021-08-28 10:27:19 +02:00
  • 3a8c250180 Refactor calc associations onConflictOption v1.21.14 Jinzhu 2021-08-26 13:37:26 +08:00
  • 74746211b8 Test update association with non-updatable zkqiang 2021-08-23 15:15:05 +08:00
  • e81833fd11 Fix onConflict with non-updatable in associations zkqiang 2021-08-23 01:35:32 +08:00
  • f21e35f7c5 Fix table not supported error when using unexpected table name Jinzhu 2021-08-26 13:14:03 +08:00
  • 0934b10856
    Bump gorm.io/driver/sqlserver from 1.0.7 to 1.0.8 in /tests (#4631) dependabot[bot] 2021-08-23 15:30:02 +08:00
  • d552241e26 Test update association with non-updatable zkqiang 2021-08-23 15:15:05 +08:00
  • 8d799ec9ea
    Bump gorm.io/driver/sqlserver from 1.0.7 to 1.0.8 in /tests dependabot[bot] 2021-08-23 07:13:04 +00:00
  • 4b170be27d Fix onConflict with non-updatable in associations zkqiang 2021-08-23 01:35:32 +08:00
  • 093694fbf2
    Fix extra 'AND' when len(values) == 0 ON IN.NegationBuild() (#4618) Sec Cake 2021-08-20 18:06:48 +08:00
  • 7a53d8e46b
    Bump gorm.io/driver/mysql from 1.1.1 to 1.1.2 in /tests (#4615) dependabot[bot] 2021-08-20 17:52:56 +08:00
  • e076e9e0fb
    Bump gorm.io/gorm from 1.21.12 to 1.21.13 in /tests (#4616) dependabot[bot] 2021-08-20 17:52:48 +08:00
  • 1bb0d8732d
    feat: count accpet db.table (#4626) River 2021-08-20 17:37:21 +08:00
  • 554d40e954 fix: logic fix riverchu 2021-08-20 16:36:57 +08:00
  • f778f78be0 feat: count accpet db.table riverchu 2021-08-20 16:34:17 +08:00
  • 25f561a742
    feat: QuoteTo accept clause.Expr (#4621) River 2021-08-19 14:33:18 +08:00
  • 42e44444cc test: update Expr build test riverchu 2021-08-19 14:19:50 +08:00
  • 7973af40d4 feat: QuoteTo accept clause.Expr riverchu 2021-08-18 21:55:57 +08:00
  • f21efdc42b Fix extra 'AND' when len(values) == 0 ON IN.NegationBuild() SkyingzZ 2021-08-16 19:34:41 +08:00
  • 49c5d9772c
    Bump gorm.io/gorm from 1.21.12 to 1.21.13 in /tests dependabot[bot] 2021-08-16 07:11:36 +00:00
  • d3bea4d40a
    Bump gorm.io/driver/mysql from 1.1.1 to 1.1.2 in /tests dependabot[bot] 2021-08-16 07:11:24 +00:00
  • 8bb3b959c9
    Merge branch 'go-gorm:master' into master Fu Zeng Yao 2021-08-13 16:03:34 +08:00
  • a0d19fc26d add restore api fuzengyao 2021-08-13 16:00:00 +08:00
  • 2b2f6e77af Add SchemaName to NamingStrategy v1.21.13 Jinzhu 2021-08-11 16:20:21 +08:00
  • a83d25e25e
    chore(logger): explicitly set config of Default Logger (#4605) Sungyun Hur 2021-08-11 12:49:46 +09:00
  • 380d105635 chore(logger): explicitly set config of Default Logger Ethan Hur 2021-08-11 01:17:00 +09:00
  • 4878e0917e Fix multi-order in a better way Gerhard Gruber 2021-08-10 11:54:11 +02:00
  • f930ed782b Fix multiple columns in order by clause Gerhard Gruber 2021-08-10 11:43:14 +02:00
  • 21e85b89d6
    Fix create with ignore migration (#4571) 张凯强 2021-08-09 13:23:44 +08:00
  • 82fe815303
    fix: table couln't be reentrant (#4556) SmallTianTian 2021-08-09 13:20:22 +08:00
  • cbe72751ac
    Update Dependencies (#4582) Matthieu MOREL 2021-08-09 07:16:25 +02:00
  • a870486c4f
    Do not emit ORDER BY for empty values (#4592) Walter Scheper 2021-08-09 01:14:23 -04:00
  • 8f733a6559 Do not emit ORDER BY for empty values Walter Scheper 2021-08-06 14:32:44 -04:00
  • 2435f46bf8 Added function gorm.Concat Daniel Hammerschmid 2021-02-25 12:39:11 +01:00
  • 74c9f2e29e add more unit test wangdong 2021-08-04 20:35:14 +08:00
  • 80e08da1f2 optimize skiphook code and add some unit test wangdong 2021-08-04 19:56:29 +08:00