Commit Graph

  • 8c146f8981 recover soft delete fuzengyao 2021-08-04 17:08:46 +08:00
  • 833d3847f0
    Bump github.com/google/uuid from 1.2.0 to 1.3.0 in /tests (#6) dependabot[bot] 2021-08-03 19:56:12 +02:00
  • 60171d982d
    Bump github.com/lib/pq from 1.6.0 to 1.10.2 in /tests (#5) dependabot[bot] 2021-08-03 19:54:21 +02:00
  • 43f6985852
    Bump gorm.io/driver/mysql from 1.0.5 to 1.1.1 in /tests (#4) dependabot[bot] 2021-08-03 19:32:06 +02:00
  • 915c475282
    Bump gorm.io/gorm from 1.21.9 to 1.21.12 in /tests (#3) dependabot[bot] 2021-08-03 19:27:51 +02:00
  • 9bf4541175
    Bump actions/stale from 3.0.7 to 4 (#2) dependabot[bot] 2021-08-03 19:24:50 +02:00
  • 980e8d0f9e
    Bump reviewdog/action-golangci-lint from 1 to 2 (#1) dependabot[bot] 2021-08-03 19:20:03 +02:00
  • f59fd17c36
    Create dependabot.yml Matthieu MOREL 2021-08-03 19:11:11 +02:00
  • 100d74a00c optimize skiphook code. wangdong 2021-08-03 21:14:42 +08:00
  • 9e5a4e30b4
    Fix migrator GuessConstraintAndTable method for return value for *schema.Check (#4527) heige 2021-08-03 11:40:57 +08:00
  • 35099ec6c1 remove comment for GuessConstraintAndTable func daheige 2021-08-02 20:48:49 +08:00
  • 413fe587c6
    Optimize migrator.go MigrateColumn and ColumnTypes func. (#4532) heige 2021-08-02 18:44:10 +08:00
  • f21ce964fc add test sivyer9303 2021-08-01 19:31:45 +08:00
  • b0f419b02f optimize ShouldSkipHook sivyer9303 2021-07-30 22:32:35 +08:00
  • 577db27512 feature. add skiphook by name/func wangdong 2021-07-30 18:05:09 +08:00
  • 3c06884068 revert GuessConstraintAndTable func Declare #4527 daheige 2021-07-29 21:53:55 +08:00
  • a739ae0368 fix return value for *schema.Check daheige 2021-07-14 21:52:48 +08:00
  • 841e12077d revert optimize migrator.go MigrateColumn #4532 daheige 2021-07-29 21:49:13 +08:00
  • f9c349d1a2 optimize migrator.go MigrateColumn and ColumnTypes func. daheige 2021-07-14 22:23:35 +08:00
  • af4f6a7c7e Fix create with ignore migration zkqiang 2021-07-29 15:04:44 +08:00
  • 7a49629fd1 optimize Parse func for fieldValue.Interface daheige 2021-07-14 21:45:23 +08:00
  • 41ac73b6a1 update comment for ConvertSliceOfMapToValuesForCreate func daheige 2021-07-14 21:56:58 +08:00
  • 3e15478534
    Merge pull request #4530 from daheige/optimize-setupValuerAndSetter Jason Lee 2021-07-28 18:51:09 +08:00
  • 5115813c50
    Fix preload fmt.Errorf formatter (#4531) heige 2021-07-28 18:50:08 +08:00
  • 18017a09c7 fix: table couln't be reentrant tick 2021-07-22 18:28:54 +08:00
  • 5eb8039603 Support Raw func support use Limit method xuejipeng 2021-07-19 17:02:13 +08:00
  • c1ef2d658c
    Refactor for readability Adrien Carreira 2021-07-18 12:04:18 +02:00
  • 2202e99cbf
    Fix create index with comments in MySQL (#4521) s-takehana 2021-07-18 12:47:44 +09:00
  • 2e9688bfe4
    JoinsOn unit test + use all primary keys Adrien Carreira 2021-07-17 15:45:15 +02:00
  • 3dd1d672a4 Fix GORM returns ErrRecordNotFound when failed to find data with Find, Pluck, ScanRows 宋彦伟 2021-07-16 14:48:52 +08:00
  • aafc9ba117 adjust fmt.Errorf daheige 2021-07-14 22:35:35 +08:00
  • ce81b2da23 adjust Preload fmt.Errorf daheige 2021-07-14 22:09:26 +08:00
  • a70254609d optimize setupValuerAndSetter func daheige 2021-07-14 22:03:17 +08:00
  • 1bf2967ce2 update comment for ConvertSliceOfMapToValuesForCreate func daheige 2021-07-14 21:56:58 +08:00
  • 4598d564e6 optimize Parse func for fieldValue.Interface daheige 2021-07-14 21:45:23 +08:00
  • 74752018dc Fix hang when closing a prepared statement Jinzhu 2021-07-14 18:31:50 +08:00
  • ac97aec513
    New Comma Expression (#4524) River 2021-07-14 15:51:24 +08:00
  • 54573ba4e9 Add comma expression unit test riverchu 2021-07-14 15:40:28 +08:00
  • 8305e6bf42 Add new comma expression riverchu 2021-07-14 15:20:27 +08:00
  • 73bdeb7428
    Fix tests s-takehana 2021-07-14 04:25:42 +09:00
  • ba7731967a
    Fix create index with comments in MySQL s-takehana 2021-07-14 03:29:55 +09:00
  • d4f3c109d6 Fix OnConflict with one column, close #4370 v1.21.12 Jinzhu 2021-07-13 21:29:31 +08:00
  • 83530ec659 Fix delete order by clause when counting, close #4478 Jinzhu 2021-07-13 21:17:43 +08:00
  • 52b72d7ef2 Add error explanations when preloading assocations w/o foreign fields, close #4356 Jinzhu 2021-07-13 21:00:13 +08:00
  • b13732c450 Fix invalid preload SQL when no data found, close #4443 Jinzhu 2021-07-13 20:23:05 +08:00
  • c73fe96cfd Fix scan into decimal.Decimal, close #4457 Jinzhu 2021-07-13 19:59:31 +08:00
  • b616d810eb Fix scan single value to custom type, close #4501 Jinzhu 2021-07-13 19:29:10 +08:00
  • 76cd73cb82 Fix wipes out MySQL global variables from the query, close #4515 Jinzhu 2021-07-13 18:48:43 +08:00
  • 2ec7043818 Respect update permission for OnConflict Create Jinzhu 2021-07-13 18:04:42 +08:00
  • 0329b800b0
    slightly better callback warning (#4495) Burak Demirpolat 2021-07-13 11:38:44 +03:00
  • 80497f27a6
    title foreign schema for many2many to avoid panic (#4496) wangyuehong 2021-07-13 17:36:22 +09:00
  • 18d32cd7dd Proposal, Add Specific on for Joins queries Adrien Carreira 2021-07-08 10:04:40 +02:00
  • fbfb4c0537 title foreign schema for many2many to avoid panic yuehong.wang 2021-07-03 20:57:54 +09:00
  • af83ee2d8e slightly better callback warning bdemirpolat 2021-07-03 14:38:20 +03:00
  • 01d96b52a2
    Merge branch 'go-gorm:master' into master Paras Waykole 2021-07-01 17:55:45 +05:30
  • 16579e00c6
    fix: fix race issue in prepare method (#4487) shiyu7 2021-07-01 06:27:12 +08:00
  • 3d43c8f0b0 fix: fix race issue in prepare method 孙琪 2021-06-30 23:18:15 +08:00
  • 6d64e31965
    Merge pull request #4479 from wuwenchi/master Jason Lee 2021-06-27 11:29:20 +08:00
  • 8bd8d38fe9 Fix Pluck's usage #4473 wuwenchi 2021-06-26 21:23:16 +08:00
  • 0f2d805740 force tag to force zero when updates bingoohuang 2021-06-24 10:20:40 +08:00
  • 8e67a08774 Fix Scopes with Row, close #4465 Jinzhu 2021-06-18 15:38:20 +08:00
  • 3197a6d07a optimize Parse func for fieldValue.Interface daheige 2021-06-14 22:33:41 +08:00
  • aa2271c65e optimize Parse daheige 2021-06-14 22:26:23 +08:00
  • b79bf9f463 update comment daheige 2021-06-14 15:42:48 +08:00
  • aefcf017dc optimize ParseIndexes func daheige 2021-06-14 15:10:39 +08:00
  • bdf3eea560 optimize ParseIndexes func. daheige 2021-06-14 11:23:25 +08:00
  • 9653eaf0fe optimize for logic,if logic and setupValuerAndSetter func. daheige 2021-06-14 10:59:00 +08:00
  • a689e56433 fix return value for *schema.Check daheige 2021-06-14 10:29:15 +08:00
  • fae2dd4815 optimize if logic and migrator.go ColumnTypes func. daheige 2021-06-14 10:20:44 +08:00
  • 3226937f68 Fix calc gormSourceDir, close #4456 v1.21.11 Jinzhu 2021-06-13 10:32:03 +08:00
  • 25b9f2e26a
    Added return names to logger.Interface.Trace (#4450) kalle (jag) 2021-06-11 15:51:40 +02:00
  • a0bddccfe1
    Use count(*) instead of count(1) include NULL and non-NULL rows(SQL-92). (#4453) Tony 2021-06-11 21:51:18 +08:00
  • 07e8943443 fix FileWithLineNum compatible with various platforms daheige 2021-06-11 21:20:19 +08:00
  • 5b65b02805 Update tests go.mod Jinzhu 2021-06-11 16:00:26 +08:00
  • e425ed6f6a Update tests go.mod Jinzhu 2021-06-10 20:26:21 +08:00
  • b7fb319765 Use count(*) instead of count(1) include NULL and non-NULL rows(SQL-92). Tony Pang 2021-06-10 15:48:45 +08:00
  • 50e85e14d4
    Code optimize (#4415) heige 2021-06-10 10:21:28 +08:00
  • 9975be0604
    Added return names to logger.Interface.Trace Kalle Jillheden 2021-06-09 18:02:27 +02:00
  • c68613a592 remove debug print and utils_filenum_test.go daheige 2021-06-07 22:31:32 +08:00
  • 00b252559f
    Fix: FirstOrCreate slice out of bounds error when using 'Assigns' (#4436) liamrfell 2021-06-07 03:39:24 +01:00
  • dd8bf88eb9
    add Target where clause for on conflict (#4442) Vitaliy Shein 2021-06-07 05:39:00 +03:00
  • 96f48fc5e4 add Target where clause for on conflict Vitaliy Shein 2021-06-04 20:49:28 +03:00
  • f178c3db53 Fix: FirstOrCreate slice out of bounds error when using 'Assigns' Liam Fell 2021-06-03 10:26:47 +01:00
  • cf079b8b7d
    Update version in tests.yml (#4432) s-takehana 2021-06-02 10:58:22 +09:00
  • a5d9d40ccc
    Update version in tests.yml s-takehana 2021-06-02 05:20:27 +09:00
  • 71515cc3ba remove log noMoon 2021-06-01 13:54:59 -04:00
  • 600ef000f1 bugfix noMoon 2021-06-01 13:49:17 -04:00
  • 9cb21b6cae add escape map noMoon 2021-06-01 13:43:09 -04:00
  • 6679cc4e68 add log noMoon 2021-06-01 12:56:20 -04:00
  • 8b1f56b77f add log noMoon 2021-06-01 12:52:10 -04:00
  • ffecb8f764 add log noMoon 2021-06-01 12:48:34 -04:00
  • c80e794a6a add log noMoon 2021-06-01 12:44:04 -04:00
  • 810058cd55 Fix soft delete with Update Jinzhu 2021-06-01 18:34:38 +08:00
  • b2742c2b18 fix FileWithLineNum func and add gormSourceDir unit test daheige 2021-05-31 21:16:52 +08:00
  • 9abac96546 Fix Eq, Neq support slice of data Jinzhu 2021-05-31 17:21:27 +08:00
  • 14e96080d8 Eq, Neq support slice of data Jinzhu 2021-05-31 15:25:38 +08:00
  • 363f9b7863
    golint standard (#4421) heyanfu 2021-05-31 10:08:06 +08:00
  • 8d41d0dc17 golint standard heyanfu 2021-05-29 13:00:43 +08:00
  • 3f2a3be940 fix: callbacks/create.go Create func daheige 2021-05-27 23:00:17 +08:00
  • 5dbcc21152 optimization callbacks/create.go Create func if...else logic daheige 2021-05-27 22:50:55 +08:00