Commit Graph

  • 5d68f566d3 fix test demoManito 2024-03-11 13:27:58 +08:00
  • d57f4f1808 add test demoManito 2024-03-11 13:24:06 +08:00
  • f6d9ee7959 fix(scan): array element is set to a zero value demoManito 2024-03-11 12:05:02 +08:00
  • e4e23d26d2
    fix: nested preload with join panic when find (#6877) black-06 2024-03-09 21:27:19 +08:00
  • c4c9aa45e3
    fix(scan.go): reflect.MakeSlice passes in the reflect.Array type (#6880) jessetang 2024-03-09 17:39:01 +08:00
  • 9efae659cb
    test: namer identifier lenght (#6872) Cr 2024-03-09 17:31:28 +08:00
  • f17a75242e Signed-off-by: hishope <csqiye@126.com> hishope 2024-03-07 14:18:31 +08:00
  • 3e35a8f3d7 Signed-off-by: hishope <csqiye@126.com> hishope 2024-03-07 14:18:31 +08:00
  • fe77d2eb9d fix(scan.go): reflect.MakeSlice passes in the reflect.Array type demoManito 2024-03-07 14:20:12 +08:00
  • 88a0b15eec fix: nested preload with join panic when find black 2024-03-06 19:08:51 +08:00
  • 4c474104de
    fix: trans error rollback a631807682 2024-03-06 17:24:00 +08:00
  • cef7b3509a
    test: namer identifier lenght a631807682 2024-03-06 13:52:51 +08:00
  • 3e2c4fc446
    Fix regression in db.Not introduced in v1.25.6. (#6844) tsuba3 2024-03-05 11:23:51 +09:00
  • f118e55db5
    Add unittest test helper function ConvertSliceOfMapToValuesForCreate (#6854) Chef 2024-03-05 09:22:57 +07:00
  • 923fc666a5
    chore(deps): bump github.com/stretchr/testify in /tests dependabot[bot] 2024-03-04 07:52:29 +00:00
  • 157866d39b chore: add ConvertToCreateValues ut for Slice case lujinghao 2024-03-01 10:39:39 +08:00
  • fb31805458 fix(create): fix insert column order lujinghao 2024-02-28 10:08:22 +08:00
  • ee073dcfe6 Add unittest test helper function ConvertSliceOfMapToValuesForCreate Chef 2024-02-27 14:22:20 +07:00
  • 52404cddbb
    CHORE add unittest test function ConvertMapToValueForCreate (#6846) Chef 2024-02-27 09:48:04 +07:00
  • 6d975db6e8 CHORE move the test cases located in the files convert_map_test.go and visit_map_test.go into the file helper_test.go. Chef 2024-02-23 11:44:49 +07:00
  • 6f83955657 CHORE add unittest test function ConvertMapToValueForCreate Chef 2024-02-22 21:19:49 +07:00
  • 27d6d27441
    Fix Tsubasa Munekata 2024-02-22 21:28:27 +09:00
  • 72a2252049
    Fix regression in db.Not introduced in 940358e. Tsubasa Munekata 2024-02-22 17:38:03 +09:00
  • 375f824e76 Added BeginTx Daniel Hammerschmid 2024-02-21 18:07:47 +01:00
  • d81ae6f701
    Fixed: panic on nullable value with multiple foreign key usage (#6839) M Dmitry 2024-02-19 03:42:25 +00:00
  • f29185bd3f Fixed: panic on nullable value with multiple foreign key usage Dmitry Morozov 2023-02-03 17:07:38 +04:00
  • 2c60bfe3bc
    Fix null setting on reused objects Peter Turi 2024-02-13 19:22:33 +01:00
  • 8fb9a31775
    refactor: part 2 of distinguish between Unique and UniqueIndex (#6822) v1.25.7 black-06 2024-02-06 19:48:40 +08:00
  • 313cdb3ea1 update drivers black 2024-02-06 19:37:31 +08:00
  • a67d868e6a Revert "temporary replace go mod to validate mysql 5.6, will rollback" black 2024-02-06 19:35:33 +08:00
  • 288c065e1e temporary replace go mod to validate mysql 5.6, will rollback black 2024-02-06 16:38:14 +08:00
  • 9b714d07f5 feat: dryrun migration should only print not-select sqls Ather Shu 2024-02-06 15:15:52 +08:00
  • 1148bd07a5 update drivers black 2024-02-06 11:47:20 +08:00
  • 00705cc8f6 fix test with sqlserver black 2024-02-06 11:21:05 +08:00
  • 9514d5f9e6
    let limit and offset use bind parameter (#6806) jasonchuan 2024-02-06 10:54:40 +08:00
  • a606304a12 temporary fix ci black 2024-02-05 16:43:22 +08:00
  • 55a76abada temporary fix ci black 2024-02-05 16:37:17 +08:00
  • 8f5622a48d
    Merge branch 'go-gorm:master' into master jasonchuan 2024-02-05 15:25:53 +08:00
  • 0d650abdde
    chore(deps): bump gorm.io/driver/postgres from 1.5.4 to 1.5.5 in /tests dependabot[bot] 2024-02-05 07:15:56 +00:00
  • caaad380f7 refactor: part 2 of distinguish between Unique and UniqueIndex black 2024-02-05 10:19:02 +08:00
  • c9cf098afe
    change postgres version rollback to 1.5.4 jasonchuan 2024-02-05 09:31:53 +08:00
  • 5f49952851
    driver/postgres->v1.5.5 jasonchuan 2024-02-04 16:33:54 +08:00
  • 46816ad31d
    refactor: distinguish between Unique and UniqueIndex (#6386) black-06 2024-02-04 15:49:19 +08:00
  • 2d4889d802 resolve conflicts black 2024-02-04 14:21:11 +08:00
  • 184ec8e136 Merge branch 'master' into distinguish_unique black 2024-02-04 14:20:13 +08:00
  • 6f1960017c Fix scan doing **<type> Peter Turi 2024-02-03 12:45:23 +01:00
  • 7cceb070be restore test_test.go chenchuan 2024-01-31 15:08:24 +08:00
  • ebb541f53e Merge branch 'master' of github.com:jasonchuan/gorm chenchuan 2024-01-31 15:06:07 +08:00
  • ac8c032ab1 restore the test_test.go chenchuan 2024-01-31 15:05:50 +08:00
  • 894a784534 Merge branch 'master' of github.com:jasonchuan/gorm chenchuan 2024-01-31 14:41:03 +08:00
  • f8f8a19c06 delete trunk files chenchuan 2024-01-31 14:40:48 +08:00
  • cb398e91f6 adding driverName for postgres ,if not to do so, the stmt vars will be added a wrong one called pgx.QueryExecModeSimpleProtocol , causing the SQL with limit problem need 1 parameter ,but given two. jason_chuan 2024-01-30 16:48:20 +08:00
  • 853ac2b536 fix test case fro connpool jason_chuan 2024-01-30 15:10:56 +08:00
  • 1123584c0c try again jason_chuan 2024-01-30 14:47:38 +08:00
  • 15c49ce278 format limt_test chenchuan 2024-01-29 16:55:25 +08:00
  • 96ba59106b format chenchuan 2024-01-29 16:39:32 +08:00
  • 297af34ddc
    chore(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 in /tests dependabot[bot] 2024-01-29 07:39:54 +00:00
  • 418ee3fc19
    fix: preload shouldn't overwrite the value of join (#6771) black-06 2024-01-29 11:34:57 +08:00
  • e043924fe7
    chore(deps): bump actions/cache from 3 to 4 (#6802) dependabot[bot] 2024-01-29 10:34:20 +08:00
  • 7c75713a13 let limit and offset use bind parameter chenchuan 2024-01-26 20:26:20 +08:00
  • 6c132c86b0
    chore(deps): bump actions/cache from 3 to 4 dependabot[bot] 2024-01-22 07:29:17 +00:00
  • ec1a1d81b0 fix: endless loop in save Jannis Rieger 2024-01-20 01:40:15 +01:00
  • 0123dd4509
    fix: ignore .gen.go suffix in logger to get the real caller when using gen #6697 (#6785) v1.25.6 Jacky 2024-01-12 18:09:22 +09:00
  • 940358e0dd Fix tests doesn't follow https://gorm.io/docs/method_chaining.html convention Jinzhu 2024-01-12 16:42:21 +08:00
  • 04ae3adfea
    Update logger.go João Teves 2024-01-09 14:34:22 -03:00
  • a9c1520b58 chore:update tag format yaofeng-wang 2024-01-09 22:35:09 +08:00
  • 57d6553b9b
    fix: ignore .gen.go suffix in logger to get the real caller when using gen #6697 0xJacky 2024-01-08 12:39:24 +08:00
  • 9107658c97 feat:allow_priority_tag_in_composite_pk yaofeng-wang 2024-01-07 16:49:47 +08:00
  • f9fab7f930 fix: join may automatically add nested query black 2024-01-03 15:25:39 +08:00
  • b1cdc9348f fix lint black 2024-01-02 21:09:29 +08:00
  • 34be0fe3c4 fix: preload shouldn't overwrite the value of join black 2024-01-02 20:49:53 +08:00
  • 87decced23
    fix: ExplainSQL using consecutive pairs of escaper in SQL string represents an escaper (#6766) iTanken 2023-12-28 19:53:36 +08:00
  • dc066a1d56
    fix: ExplainSQL using consecutive pairs of escaper in SQL string represents an escaper liutianqi 2023-12-27 17:24:09 +08:00
  • 436cca753c
    fix: join and select mytable.* not working (#6761) Stephano George 2023-12-23 21:19:41 +08:00
  • bcd8aeffca fix: select mytable.*: will not match mytable."*". feat: increase readability of code matching table name column name StephanoGeorge 2023-12-22 16:01:19 +08:00
  • 82ae136c07 fix: select mytable.* not working StephanoGeorge 2023-12-21 16:43:58 +08:00
  • b26f7432a2
    chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /tests dependabot[bot] 2023-12-18 23:57:28 +00:00
  • fa797c5842 delete returning preload Franco Liberali 2023-09-07 19:30:46 +02:00
  • 6ede807f8d update returning preload Franco Liberali 2023-09-07 19:08:12 +02:00
  • c00cf29ccc add join to update clause Franco Liberali 2023-09-06 15:04:01 +02:00
  • 6ce6e3c419
    chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 in /tests dependabot[bot] 2023-12-18 07:34:43 +00:00
  • a2cac75218
    feature: bring custom type and id column name to polymorphism (#6716) Alexis Viscogliosi 2023-12-15 09:36:08 +01:00
  • b9ebdb13c7
    Making locking parameters more intuitive (#6719) Maciej Laskowski 2023-12-15 16:32:56 +08:00
  • 2fb4928aa8
    refactor: Resolve implicit memory aliasing in for loop (#6730) BugKillerPro 2023-12-15 16:31:23 +08:00
  • 44e47d9b20
    chore(deps): bump actions/setup-go from 4 to 5 dependabot[bot] 2023-12-11 07:31:48 +00:00
  • dbad201749
    chore(deps): bump actions/stale from 8 to 9 dependabot[bot] 2023-12-11 07:31:46 +00:00
  • 52e8debd14 refactor: Resolve implicit memory aliasing in for loop BugKillerPro 2023-12-07 17:07:27 +08:00
  • 9772713589
    Update clause.go Goran Marić 2023-12-05 20:39:27 +01:00
  • fd4bc4f25a remove dedicated type dogenkigen 2023-12-04 13:54:55 +01:00
  • c95e45f45e Making locking parameters more intuitive dogenkigen 2023-12-04 13:36:45 +01:00
  • 58bba4c8df fix: tests Alexis Viscogliosi 2023-12-04 09:14:10 +01:00
  • f0af94cd16 add test to show that update from works Franco Liberali 2023-09-06 16:13:47 +02:00
  • d918ffbd4a relationship: better returns for hasPolymorphicRelation Alexis Viscogliosi 2023-11-29 18:16:25 +01:00
  • 40bf1e6b4f feature: bring custom type and id column name to polymorphism Alexis Viscogliosi 2023-11-29 17:20:10 +01:00
  • c683b81e5d
    fix error time (previes wrong time) when select multiple nullable time using type time.Time CoderAlim 2023-11-28 04:56:26 -06:00
  • 4c50b3f67a fixed nested preload error handling issue destel 2019-10-29 15:24:21 +02:00
  • fec1795aca
    Merge branch 'go-gorm:master' into fix/concurrent-migrations Lasse Hyldahl Jensen 2023-11-27 14:21:55 +01:00
  • 7e1b4c55b6 revert: revert MigrateColumn black 2023-11-20 17:34:43 +08:00
  • 7a7129277d
    Update finisher_api.go Y!an 2023-11-24 02:07:14 +08:00
  • a6f869a340
    fix: 'Duplicate entry' while Save() composite primary key model Y!an 2023-11-24 01:28:03 +08:00