Commit Graph

  • cec0d32aec Support use clause.Expression as argument Jinzhu 2022-01-28 18:48:32 +0800
  • e5894ca449
    chore(deps): bump gorm.io/driver/mysql from 1.2.1 to 1.2.3 in /tests (#4987) v1.22.5 dependabot[bot] 2022-01-12 13:11:57 +0800
  • a0d6ff1fea
    time.Time, []byte type add alias support. (rebase master) (#4992) piyongcai 2022-01-12 13:11:40 +0800
  • eae73624ad Fix return failed to begin transaction error when failed to start a transaction Jinzhu 2022-01-07 10:04:35 +0800
  • 0df42e9afc
    feat: add `Connection` to execute multiple commands in a single connection; (#4982) kinggo 2022-01-07 09:49:56 +0800
  • f757b8fdc9
    fix: auto migration column order unpredictable (#4980) halfcrazy 2022-01-06 18:55:20 +0800
  • b47cf57f5e
    ci: add gofumpt check in reviewdog (#4973) kinggo 2022-01-06 15:02:53 +0800
  • 4dd2647967
    Merge pull request #4964 from liweitingwt/f_test_error kinggo 2021-12-31 14:25:04 +0800
  • 8dde09e0be
    fix: generate sql incorrect when use soft_delete and only one OR (#4969) kinggo 2021-12-30 11:47:14 +0800
  • b9667cb747 fix: fix the error handle in tests_test liweiting.wt 2021-12-28 18:22:17 +0800
  • 2c3fc2db28
    Fix: Where clauses with named arguments may cause generation of unintended queries (#4937) Emre Güllü 2021-12-21 14:50:00 +0300
  • 24026bf1fe
    modify unscoped judge (#4929) liweitingwt 2021-12-16 10:41:34 +0800
  • adf8f70f06 Upgrade go.mod Jinzhu 2021-12-10 17:50:19 +0800
  • 380cc64ff5
    fix type alias AutoMigrate bug(Add Test Case) (#4888) piyongcai 2021-12-10 17:45:36 +0800
  • 2a578d767f
    Use Golangci configuration file (#4896) Matthieu MOREL 2021-12-10 10:44:11 +0100
  • e5bdd610c3
    fix: save not use soft_delete (#4897) kinggo 2021-12-08 13:58:06 +0800
  • 300a23fc31 Check rows.Close error, close #4891 Jinzhu 2021-12-02 10:39:24 +0800
  • 8627634959 Fix create associations with zero primary key, close #4890 Jinzhu 2021-12-02 10:20:16 +0800
  • 3a3b82263a Fix auto migration always alert table, close #4198 v1.22.4 Jinzhu 2021-11-29 20:24:04 +0800
  • d8a710cba2
    fix: count() when use group by and only find one record (#4885) kinggo 2021-11-29 20:14:23 +0800
  • 27e2753c9d Fix create duplicated value when updating nested has many relationship, close #4796 Jinzhu 2021-11-29 18:34:50 +0800
  • 45e804dd3f Fix call valuer interface when using nil value Jinzhu 2021-11-29 16:19:06 +0800
  • 92d5a959a0 Fix tests Jinzhu 2021-11-29 15:16:57 +0800
  • 270e38c518 Fix duplicated error when Scan, close #4525 Jinzhu 2021-11-29 14:23:10 +0800
  • e1b4c066a8 Fix FullSaveAssociations, close #4874 Jinzhu 2021-11-29 11:02:32 +0800
  • 9d5f315b6d
    feat: go code style adjust and optimize code for callbacks package (#4861) heige 2021-11-29 09:33:20 +0800
  • b8f33a42a4
    Add unused argument (#4871) Jinzhu 2021-11-23 17:11:52 +0800
  • cff7845e58
    Bump gorm.io/driver/mysql from 1.1.3 to 1.2.0 in /tests (#4856) dependabot[bot] 2021-11-23 11:40:18 +0800
  • 0f8e861597
    Bump github.com/jinzhu/now from 1.1.2 to 1.1.3 in /tests (#4866) dependabot[bot] 2021-11-23 11:40:03 +0800
  • 11d5c346ae
    Bump github.com/jinzhu/now from 1.1.2 to 1.1.3 (#4865) dependabot[bot] 2021-11-23 11:39:42 +0800
  • 5e64ac7de9
    feat(migrator,migrator/migrator.go,tests/migrate_test.go) : Get multiple data tables for migrator. (#4841) v1.22.3 dino.ma 2021-11-13 14:03:33 +0800
  • 33bc56cbb5 feat(update): update when has SET clause riverchu 2021-11-09 19:55:47 +0800
  • 5daa413f41 Stabilize schema.FieldsWithDefaultDBValue's order, close #4643 Jinzhu 2021-11-08 20:20:55 +0800
  • ca7accdbf6 Fix preload all associations with inline conditions, close #4836 Jinzhu 2021-11-08 19:40:40 +0800
  • b23c3b290e Don't query with primary key when using Save Jinzhu 2021-11-08 18:49:49 +0800
  • d9d5c4dce0
    Fix self-referential belongs to constraint (#4801) Mayank Govilla 2021-11-07 20:47:29 -0500
  • 4c8810a848
    Refactor if logic (#4683) heige 2021-11-04 13:45:44 +0800
  • c170af11e9
    fix connections leak (#4826) kinggo 2021-11-03 13:39:52 +0800
  • 7b927900e9
    Bump gorm.io/driver/sqlserver from 1.1.2 to 1.2.0 in /tests (#4820) dependabot[bot] 2021-11-01 17:09:08 +0800
  • 8de266b4a7
    Add ToSQL support to generate SQL string. (#4787) Jason Lee 2021-11-01 17:08:54 +0800
  • 9635d25150 Fix query with uninitialized map Jinzhu 2021-11-01 12:00:36 +0800
  • 9f533950a2 Add dest value if current size equal zero v1.22.2 Jinzhu 2021-10-28 17:12:31 +0800
  • e953880d19 Add returning tests v1.22.1 Jinzhu 2021-10-28 08:03:23 +0800
  • 835d7bde59 Add returning support to delete Jinzhu 2021-10-28 07:24:38 +0800
  • af3fbdc2fc Improve returning support v1.22.0 Jinzhu 2021-10-26 22:36:37 +0800
  • d3211908a0
    Refactor ParseWithSchemaTable method and improve test. (#4789) Jason Lee 2021-10-25 11:26:44 +0800
  • 38e55f1117
    Merge pull request #4773 from xwjdsh/master Jason Lee 2021-10-19 10:11:11 +0800
  • a3bd9c3ea2 fix: automigrate error caused by indexes while using dynamic table name Wendell Sun 2021-10-13 01:59:28 +0800
  • 9a5ba37604 Merge branch 'hashicorp-jimlambrt-null-without-ptrs' Jinzhu 2021-10-13 21:02:03 +0800
  • b27095e8a1 Refactor Convert SQL null values to zero values for model fields which are not pointers #4710 Jinzhu 2021-10-13 21:01:32 +0800
  • 19cf645dbd feat: Convert SQL nulls to zero values (ConvertNullToZeroValues) Jim 2021-09-12 06:42:48 -0400
  • 696092e287
    update tests' go.mod and tests_all.sh (#4774) kinggo 2021-10-13 14:41:33 +0800
  • ec58e3319f
    fixed:panic when create value from nil struct pointer. (#4771) kinggo 2021-10-12 21:19:08 +0800
  • 418c60c83c
    fixed: clauseSelect.Columns missed when use Join And execute multiple query. (#4757) v1.21.16 kinggo 2021-10-09 16:55:45 +0800
  • bfda75d099 Support specify select/omit columns with table Jinzhu 2021-10-09 10:42:41 +0800
  • 6312d86c54 Support specify select/omit columns with table Jinzhu 2021-10-08 17:51:27 +0800
  • d4c838c1ce Upgrade sqlite driver Jinzhu 2021-10-08 17:31:58 +0800
  • b46e2afc4a
    fix : update miss where's condition when primary key use "<-:create" tag (#4738) kinggo 2021-10-08 13:47:01 +0800
  • e3fc49a694
    feat: ajust PreparedStmtDB unlock location and BuildCondition if logic (#4681) heige 2021-10-08 11:16:58 +0800
  • c13f3011f9
    feat: adjust SetupJoinTable func if..else code (#4680) heige 2021-10-08 11:05:50 +0800
  • 5d91ddac8c
    fixed belongs_to & has_one reversed if field same (proper fix) (#4694) Paras Waykole 2021-10-08 08:29:55 +0530
  • 57d927d046
    Bump gorm.io/driver/postgres from 1.1.1 to 1.1.2 in /tests (#4740) dependabot[bot] 2021-10-08 10:54:50 +0800
  • 0b6bd33934
    Update `tests.yml` (#4741) s-takehana 2021-10-08 11:51:53 +0900
  • 851fea0221
    fix: QuoteTo not fully support raw mode (#4735) River 2021-09-29 14:02:35 +0800
  • c4a2e891da Fix Join condition with DB Jinzhu 2021-09-28 22:37:15 +0800
  • 002bf78ea7 Fix Join condition with DB, close #4719 Jinzhu 2021-09-28 21:43:12 +0800
  • 6864a24150
    fix:remove the tableName judgment in pluck (#4731) kinggo 2021-09-27 22:11:29 +0800
  • 5202529ea1
    fix (clause/expression): Allow sql stmt terminator (#4693) Jim 2021-09-20 09:40:48 -0400
  • 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 +0800
  • 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 +0800
  • ab355336cb Fix scan with interface Jinzhu 2021-09-17 18:35:14 +0800
  • da16a8aac6 Update updated_at when upserting with Create OnConflict Jinzhu 2021-09-17 15:29:49 +0800
  • 12bbde89e6 Fix Scan with interface Jinzhu 2021-09-17 14:04:19 +0800
  • 61b018cb94 Fix count with selected * Jinzhu 2021-09-16 11:17:54 +0800
  • d41fb3acdc Refactor dummy driver QuoteTo method Jinzhu 2021-09-11 16:22:35 +0800
  • 04f049c1da Add tests for RowsAffected v1.21.15 Jinzhu 2021-09-09 11:22:55 +0800
  • a16db07945 Refactor Join ON Jinzhu 2021-09-07 21:21:44 +0800
  • ba16b2368f
    Refactor update record (#4679) Jinzhu 2021-09-07 20:04:54 +0800
  • 6c94b07e98 try to fix fatal error: concurrent map read and map write Jinzhu 2021-09-07 15:30:14 +0800
  • 3b6a7c8aec Update sqlserver driver Jinzhu 2021-09-07 12:01:19 +0800
  • d047f854e6 PR Comments Adrien Carreira 2021-08-28 10:27:19 +0200
  • c301aeb524 Refactor for readability Adrien Carreira 2021-07-18 12:04:18 +0200
  • 52cc438d07 JoinsOn unit test + use all primary keys Adrien Carreira 2021-07-17 15:45:15 +0200
  • 895c1178a0 Proposal, Add Specific on for Joins queries Adrien Carreira 2021-07-08 10:04:40 +0200
  • eaa63d15e7 feat: copy dest fields to model struct riverchu 2021-09-05 23:12:24 +0800
  • 4581e8b590 test: update Save test riverchu 2021-09-05 23:07:28 +0800
  • c898622791 test: add testcase in TestSave riverchu 2021-09-05 11:10:48 +0800
  • 1d9e563023 style: prepose error judgement riverchu 2021-09-03 23:09:20 +0800
  • 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 +0800
  • 5f019f74bf
    Bump gorm.io/gorm from 1.21.13 to 1.21.14 in /tests (#4655) dependabot[bot] 2021-09-03 17:47:50 +0800
  • 15188cf409
    Add Go 1.17 (#4666) jxlwqq 2021-09-03 17:47:32 +0800
  • 3a8c250180 Refactor calc associations onConflictOption v1.21.14 Jinzhu 2021-08-26 13:37:26 +0800
  • 74746211b8 Test update association with non-updatable zkqiang 2021-08-23 15:15:05 +0800
  • e81833fd11 Fix onConflict with non-updatable in associations zkqiang 2021-08-23 01:35:32 +0800
  • f21e35f7c5 Fix table not supported error when using unexpected table name Jinzhu 2021-08-26 13:14:03 +0800
  • 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 +0800
  • 093694fbf2
    Fix extra 'AND' when len(values) == 0 ON IN.NegationBuild() (#4618) Sec Cake 2021-08-20 18:06:48 +0800
  • 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 +0800
  • e076e9e0fb
    Bump gorm.io/gorm from 1.21.12 to 1.21.13 in /tests (#4616) dependabot[bot] 2021-08-20 17:52:48 +0800
  • 1bb0d8732d
    feat: count accpet `db`.`table` (#4626) River 2021-08-20 17:37:21 +0800