black-06
418ee3fc19
fix: preload shouldn't overwrite the value of join ( #6771 )
...
* fix: preload shouldn't overwrite the value of join
* fix lint
* fix: join may automatically add nested query
2024-01-29 11:34:57 +08:00
black-06
9fea15ae75
feat: add MigrateColumnUnique ( #6640 )
...
* feat: add MigrateColumnUnique
* feat: define new methods
* delete debug in test
2023-10-30 17:15:49 +08:00
black-06
828e22b17f
feat: support embedded preload ( #6137 )
...
* feat: support embedded preload
* fix lint and test
* fix test...
2023-04-11 13:10:38 +08:00
Michael Anstis
532e9cf4cc
Issue 6054: Unscoped not working with PreLoad on Joins ( #6058 )
...
* Issue 6054: Unscoped not working with PreLoad on Joins
* Formatting
---------
Co-authored-by: Michael Anstis <manstis@redhat.com>
2023-02-18 09:06:43 +08:00
chenrui
5431da8caf
fix: preload panic when model and dest different close #5130
...
commit e8307b5ef5273519a32cd8e4fd29250d1c277f6e
Author: Jinzhu <wosmvp@gmail.com>
Date: Fri Mar 18 13:37:22 2022 +0800
Refactor #5130
commit 40cbba49f3
Author: chenrui <chenrui@jingdaka.com>
Date: Sat Mar 5 17:36:56 2022 +0800
test: fix test fail
commit 66d3f07829
Author: chenrui <chenrui@jingdaka.com>
Date: Sat Mar 5 17:29:09 2022 +0800
test: drop table and auto migrate
commit 7cbf019a93
Author: chenrui <chenrui@jingdaka.com>
Date: Sat Mar 5 15:27:45 2022 +0800
fix: preload panic when model and dest different
2022-03-18 13:38:46 +08:00
kinggo
b47cf57f5e
ci: add gofumpt check in reviewdog ( #4973 )
2022-01-06 15:02:53 +08:00
Jinzhu
ca7accdbf6
Fix preload all associations with inline conditions, close #4836
2021-11-08 19:47:10 +08:00
Jinzhu
d483ffa45c
Fix Preload with nil pointer
2021-04-15 10:37:05 +08:00
Jinzhu
2055e29eb8
Refactor nested preload all associations
2021-03-14 10:42:58 +08:00
Jinzhu
6950007d6a
Fix failed to parse relations when using goroutinue, close #3790
...
commit ee0ec43e8dfa85c1c1a562c2d0d47776cf8abd92
Author: Jinzhu <wosmvp@gmail.com>
Date: Fri Nov 27 14:31:57 2020 +0800
Fix failed to parse relations when using goroutinue, close #3790
commit 590e73ff95
Author: rokeyzhao <rokeyzhao@tencent.com>
Date: Thu Nov 26 20:27:55 2020 +0800
test: no cache preload in goroutine
2020-11-27 14:32:20 +08:00
Jinzhu
d8ddccf147
Don't marshal to null for associations after preloading, close #3395
2020-09-04 19:09:51 +08:00
Jinzhu
308d22b166
Clean up associations before Preload, close #3345
2020-09-01 13:48:37 +08:00
Jinzhu
3195ae1207
Allow override alias table in preload conditions
2020-08-25 18:59:19 +08:00
Jinzhu
5883490aa7
Select, Omit, Preload supports clause.Associations
2020-06-20 17:21:01 +08:00
Jinzhu
8bb05a5a69
Refactor tests files
2020-06-02 10:50:38 +08:00
Jinzhu
e986371a42
Rename package name
2020-06-02 09:18:01 +08:00
Jinzhu
1c39ac921b
Test preload with conds
2020-05-24 01:16:08 +08:00
Jinzhu
e60a8d54ff
Test Nested Preload
2020-05-24 00:52:25 +08:00