Commit Graph

  • 441092d82f Merge branch 'master' into create_on_confilct black 2023-11-21 09:08:00 +08:00
  • 65eebec776 feat: order supports []clause.OrderByColumn lucasbbb 2023-11-20 23:19:28 +08:00
  • 647bd36d01 Merge branch 'master' into distinguish_unique black 2023-11-20 15:44:03 +08:00
  • 58eecb356c
    added average expression (#29) FFuchsi 2023-11-16 16:40:59 +01:00
  • 3207ad6033
    map insert support return increment id (#6662) FangSqing 2023-11-15 21:32:56 +08:00
  • cbb02edcc9 fix get last insert id from pg 方圣卿 2023-11-15 19:35:06 +08:00
  • a26ce789b2 refactor write back pk value for create 方圣卿 2023-11-15 16:54:06 +08:00
  • e7301c10a8 skip case for mariadb 方圣卿 2023-11-14 19:59:52 +08:00
  • b86ea908d7 add create test 方圣卿 2023-11-07 21:54:25 +08:00
  • 161be61b3d create with schema map return pk 方圣卿 2023-11-07 21:53:45 +08:00
  • bccc8fdf1e refactor if branch 方圣卿 2023-10-27 17:05:52 +08:00
  • 5b4695a334 map insert support return increment id 方圣卿 2023-10-26 21:32:51 +08:00
  • 712a898f69
    Merge branch 'go-gorm:master' into fix/concurrent-migrations Lasse Hyldahl Jensen 2023-11-09 16:47:03 +01:00
  • b88d715d61 Fix error overwritten Lasse Hyldahl Jensen 2023-11-09 16:42:54 +01:00
  • ed7c462ecc Fix defer Lasse Hyldahl Jensen 2023-11-09 16:38:54 +01:00
  • 9010c20c20 Handle ReleaseLock error Lasse Hyldahl Jensen 2023-11-09 16:31:50 +01:00
  • 4d6c09b83e Obtain lock before auto-migrating table Lasse Hyldahl Jensen 2023-11-09 16:15:04 +01:00
  • c1e911f6ed Update tests/go.mod Jinzhu 2023-11-09 18:46:39 +08:00
  • 34440dafd8 Add test that provokes the race condition Lasse Hyldahl Jensen 2023-11-08 21:00:26 +01:00
  • 47f9280158 add ParamsFilter to logger interface shedyfreak 2023-11-07 13:17:13 +01:00
  • e8e9ab1492 fix(logger): Fixed fc is nil Flc゛ 2023-11-07 11:07:07 +08:00
  • 40f4afe8c2
    docs: fix broken link (#6673) Kijima Daigo 2023-11-07 11:20:06 +09:00
  • d2fb7a942b
    chore(logger): optimize (#6675) Flc゛ 2023-11-07 10:19:41 +08:00
  • f969e05d8b chore(logger): optimize Flc゛ 2023-11-07 10:11:48 +08:00
  • 6eacaebf13 chore(logger): optimize Flc゛ 2023-11-07 10:00:04 +08:00
  • b371257bac allow setting config when you use your own logger implementation shedyfreak 2023-11-06 17:01:56 +01:00
  • 505935fa1e docs: fix broken link Kijima Daigo 2023-11-07 00:30:37 +09:00
  • 9fea15ae75
    feat: add MigrateColumnUnique (#6640) black-06 2023-10-30 17:15:49 +08:00
  • 17284fc66d
    chore(deps): bump gorm.io/driver/postgres in /tests dependabot[bot] 2023-10-30 07:29:06 +00:00
  • b9e04ce8d0
    chore(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 in /tests dependabot[bot] 2023-10-30 07:29:04 +00:00
  • 19f809d082 Merge branch 'master' into before_distinguish_unique black 2023-10-27 10:13:24 +08:00
  • 13819943cd fix: skip lint typecheck Muhammad Noor Misyuari 2023-10-26 12:55:41 +07:00
  • 0e24da601c feat: additional select column Muhammad Noor Misyuari 2023-10-26 12:47:45 +07:00
  • 5adc0ce5f6
    test: fix TestEmbeddedRelations (#6639) Cr 2023-10-26 11:58:13 +08:00
  • 78e905919f
    tests/sqilte: enable FOREIGN_KEYS inside OpenTestConnection (#6641) gleb 2023-10-26 06:54:15 +03:00
  • b2ff96b2e2 fix fix/update/set demoManito 2023-10-20 20:54:41 +08:00
  • 685ece80d4 fix test demoManito 2023-10-20 20:48:53 +08:00
  • 294255c11b fix test demoManito 2023-10-20 20:44:12 +08:00
  • e9c3b25552 fix: SQL UPDATE SET is missing spaces demoManito 2023-10-20 19:28:40 +08:00
  • 9599c1e38e chore: fix linter errors guilhermefbarbosa 2023-10-19 10:33:28 -03:00
  • 352d9a9abb test: adds AfterError tests guilhermefbarbosa 2023-10-19 09:45:14 -03:00
  • 2e00b2bd7d feat: adds AfterError callback guilhermefbarbosa 2023-10-19 09:45:04 -03:00
  • c7cabac313
    chore(deps): bump gorm.io/driver/sqlserver in /tests dependabot[bot] 2023-10-16 07:10:48 +00:00
  • d61cd95ca0
    chore(deps): bump gorm.io/driver/mysql in /tests dependabot[bot] 2023-10-16 07:10:41 +00:00
  • adcd6bc0a2
    chore(deps): bump gorm.io/driver/postgres in /tests dependabot[bot] 2023-10-16 07:10:34 +00:00
  • de49b09d71 tests/sqilte: enable FOREIGN_KEYS inside OpenTestConnection glebarez 2023-10-14 22:36:34 +03:00
  • 05f0afe324 delete debug in test black 2023-10-13 19:13:02 +08:00
  • 9048ea529c feat: define new methods black 2023-10-13 18:47:41 +08:00
  • d2afedf5ba feat: add MigrateColumnUnique black 2023-10-13 18:37:40 +08:00
  • a4a28cebd2 go mod tidy black 2023-10-13 18:13:33 +08:00
  • cf41030029 Merge branch 'master' into distinguish_unique black 2023-10-13 18:11:31 +08:00
  • f25436caca
    test: fix TestEmbeddedRelations a631807682 2023-10-13 10:21:55 +08:00
  • bcb7368a22
    feat: use gorm v1.25.5 and sqllite v1.5.4 for tests zhtiyissr 2023-10-10 04:31:50 -05:00
  • c39b532d7f
    feat: use gorm v1.25.4 and sqllite v1.5.4 for tests zhtiyissr 2023-10-10 04:25:33 -05:00
  • c04c6cf759 add test to show that update from works Franco Liberali 2023-09-06 16:13:47 +02:00
  • 422a0e3d8d
    feat: use gorm v1.25.4 and sqllite v1.5.3 for tests zhtiyissr 2023-10-10 03:43:15 -05:00
  • 6a62cea8ae
    feat: use gorm v1.25.3 and sqllite v1.5.3 for tests zhtiyissr 2023-10-10 03:36:48 -05:00
  • 20a6fa3002
    feat: use sqllite v1.5.4 for tests zhtiyissr 2023-10-10 03:17:36 -05:00
  • 7f41b81d8b
    feat: use sqllite v1.5.2 and gorm v1.25.2 zhtiyissr 2023-10-10 03:16:02 -05:00
  • 49bafabf46
    feat: use sqllite v1.5.4 and gorm v1.25.4 for tests zhtiyissr 2023-10-10 03:10:20 -05:00
  • eee2d86a82
    feat: use gorm v1.25.3 for tests zhtiyissr 2023-10-10 03:05:43 -05:00
  • 3f4e30940a
    feat: use gorm v1.25.5 for tests zhtiyissr 2023-10-10 02:58:10 -05:00
  • 6bef318891
    add support for returning in sqlserver (#6585) v1.25.5 Franco Liberali 2023-10-10 09:03:34 +02:00
  • 1b24081010
    chore(deps): bump actions/checkout from 3 to 4 (#6586) dependabot[bot] 2023-10-10 14:50:45 +08:00
  • 8c18714462
    Don't call MethodByName with a variable arg (#6602) Jeremy Quirke 2023-10-09 23:50:29 -07:00
  • 12ba285a52
    *datatypes.JSON in model causes panic on tx.Statement.Changed (#6611) Mathias Zeller 2023-10-10 08:46:32 +02:00
  • 9d8a5bb208
    feat: reuse name (#6626) hjwblog.com 2023-10-10 14:45:48 +08:00
  • 2095d42b4c
    fix: sqlite dialector cannot apply PRIMARY KEY AUTOINCREMENT type (#6624) Samuel N Cui 2023-10-09 17:26:27 +08:00
  • d85cb7aaad
    chore(deps): bump gorm.io/driver/sqlite from 1.5.3 to 1.5.4 in /tests dependabot[bot] 2023-10-09 07:39:58 +00:00
  • 1ecf2e6204 fix: comment code and test again zhtiyissr 2023-10-08 23:47:02 +08:00
  • d34abe9128 feat: add IF NOT EXISTS config for migrator zhtiyissr 2023-10-08 23:33:38 +08:00
  • 1a6a06e35c feat: update tests deps sqlite to v1.5.4 Samuel N Cui 2023-10-08 14:19:13 +08:00
  • 8cd1951015 feat: reuse name philhuan 2023-10-08 12:44:03 +08:00
  • 29d5c3df14 feat: update sqlite Samuel N Cui 2023-10-08 12:20:32 +08:00
  • 3e97afef7f feat: add auto increment test Samuel N Cui 2023-10-07 22:57:56 +08:00
  • 3fe5335dfd fix: sqlite dialector cannot apply PRIMARY KEY AUTOINCREMENT type Samuel N Cui 2023-10-04 22:33:48 +08:00
  • 80c1195ee1 get things compact mgoeppe 2023-09-29 08:35:39 +02:00
  • df5d184baa test(sql_builder_test): add test for CreateInBatches sql statment Anton Kichaev 2023-09-02 12:38:59 +07:00
  • 3b1dc9c328
    Added OrderByCase Expression (#14) FFuchsi 2023-09-26 09:35:25 +02:00
  • 6d27fedf62 more explanation in comments mgoeppe 2023-09-25 11:10:38 +02:00
  • 292122220a do not panic on nil mgoeppe 2023-09-22 14:05:11 +02:00
  • a6e25fb51c Don't call MethodByName with a variable arg Jeremy Quirke 2023-09-16 23:29:35 -07:00
  • 6c228720c8
    chore(deps): bump actions/checkout from 3 to 4 dependabot[bot] 2023-09-11 07:15:28 +00:00
  • 752a13741b add support for returning in sqlserver Franco Liberali 2023-09-08 13:50:07 +02:00
  • 7bf2f9348e delete returning preload Franco Liberali 2023-09-07 19:30:46 +02:00
  • 3f7df2e56d update returning preload Franco Liberali 2023-09-07 19:08:12 +02:00
  • db23976bb5
    Update associations.go hhniao 2023-09-01 14:42:57 +08:00
  • 28331bf198 fix(finisher_api): compose sqls and vars statement Anton Kichaev 2023-08-31 20:58:33 +07:00
  • cd9a163fd8 feat: unsafe pointer fix_pointer qqxhb 2023-08-29 16:57:31 +08:00
  • 55d012f179
    Fix: Add unused argument Introduced compatibility issues xiaoyiyu 2023-08-28 18:12:08 +08:00
  • e57e5d8884 Update go.mod Jinzhu 2023-08-27 15:40:54 +08:00
  • 653732e1c3 Update go testing versions Jinzhu 2023-08-24 20:19:29 +08:00
  • 9b5bc567e5
    Merge branch 'master' into customize-logger-time-format wangyuehong 2023-08-23 13:35:37 +09:00
  • 22d96c66f7 Fix handling of unknown column types looi 2023-08-22 12:40:43 -07:00
  • 54d8fcd4f0
    chore(deps): bump gorm.io/driver/sqlite from 1.5.2 to 1.5.3 in /tests dependabot[bot] 2023-08-21 07:30:54 +00:00
  • ac07543962
    Fixed error message when dialector fails to initialize (#6509) Rataj 2023-08-20 13:46:56 +02:00
  • 7e44f73ad3
    fix schema GetIdentityFieldValuesMap interface or ptr (#6417) v1.25.4 龚一涛 2023-08-19 21:35:14 +08:00
  • 2c2089760c
    add float32 test case (#6530) Heliner 2023-08-19 21:33:57 +08:00
  • fef42941ba
    feat: rm GetDBConnWithContext method (#6535) qqxhb 2023-08-19 21:33:31 +08:00
  • 35d2ba9f08 feat: nil feat_rm_contextpool qqxhb 2023-08-18 19:33:38 +08:00