Commit Graph

  • 76bc83ea2b Fixed tests for Easer to use gorm.open in order to inject the required configurations ktsivkov 2023-03-20 16:16:34 +01:00
  • a688acb023 Implemented easer feature to reduce the DB load ktsivkov 2023-03-20 16:03:09 +01:00
  • 970341a12a Implemented easer feature to reduce the DB load ktsivkov 2023-03-20 15:01:08 +01:00
  • cbe3f6557a
    chore(deps): bump actions/setup-go from 3 to 4 dependabot[bot] 2023-03-20 07:57:18 +00:00
  • d14ebedad5 add an easy-to-understand ut black 2023-03-17 18:49:58 +08:00
  • 0c51d655f3 fix: count with group (#6157) black 2023-03-17 10:14:06 +08:00
  • ec0b0d6fab replace quote black 2023-03-15 17:34:49 +08:00
  • 55f17a0c16 fix cond in scopes black 2023-03-15 17:01:51 +08:00
  • c6344b6e96 save should be idempotent #6139 black 2023-03-14 12:28:09 +08:00
  • 672c48b74c avoid adding attributes black 2023-03-13 17:33:57 +08:00
  • 92a360708d use container/list to prevent memory leaks black 2023-03-13 17:04:55 +08:00
  • 5727808a20 fix test black 2023-03-13 16:49:52 +08:00
  • aec9023a10 add mutex black 2023-03-13 16:34:50 +08:00
  • b7f2347e86 test: add TestWhen Flc゛ 2023-03-13 15:18:52 +08:00
  • 62230f6c84 fix: nested scan (#6136) black 2023-03-13 13:39:28 +08:00
  • 06ebac6407 feat: add When Flc゛ 2023-03-13 12:54:44 +08:00
  • f158060716 fix test... black 2023-03-10 20:25:54 +08:00
  • 8bc0a78dd7 fix lint and test black 2023-03-10 19:23:42 +08:00
  • cc14764fd8 Merge remote-tracking branch 'origin/embedded_preload' into embedded_preload black 2023-03-10 18:33:28 +08:00
  • f2f58750f5 Merge branch 'master' into embedded_preload black 2023-03-10 18:28:44 +08:00
  • 422373ba84
    Merge branch 'go-gorm:master' into embedded_preload black-06 2023-03-10 18:27:21 +08:00
  • 3c869fdde5 feat: support embedded preload black 2023-03-10 17:55:52 +08:00
  • cc2d46e5be reuse name for savepoints from nested transaction, close #6060 Jinzhu 2023-03-10 17:42:38 +08:00
  • 8bf1f269cf
    feat: support nested join (#6067) Cr 2023-03-10 17:21:56 +08:00
  • 654b5f2006
    test: pgsql alter column from smallint or string to boolean (#6107) Jeffry Luqman 2023-03-10 16:11:56 +07:00
  • b62192456f
    fix: diff schema update assign value (#6096) Cr 2023-03-10 17:04:54 +08:00
  • 707d70a542
    refactor: translate error only when it is not nil (#6133) Saeid Kanishka 2023-03-10 09:51:27 +01:00
  • ed474152b1
    Fix: Composite primary key with auto-increment value returns 0 after insert (#6127) Truong Nguyen 2023-03-10 17:50:03 +09:00
  • e7389c45b4
    Update gorm.go Jinzhu 2023-03-10 16:48:50 +08:00
  • f04a2a376d
    Merge branch 'master' into master Jinzhu 2023-03-10 16:45:25 +08:00
  • 1643a36260 Fix possible concurrency problem for serializer Jinzhu 2023-03-10 10:48:14 +08:00
  • cd0eafbd14 refactor: update the error if checks Saeid Saeidee 2023-03-10 09:36:24 +01:00
  • e9f25c73ee
    fix: on confilct with default null (#6129) Cr 2023-03-10 16:35:26 +08:00
  • a780c0264c
    Update create.go Jinzhu 2023-03-10 16:32:35 +08:00
  • ddd0a11c3f schema.go: use field.AutoIncrement instead of field.TagSettings["AUTOINCREMENT"], add test to check autoincrement:false truongns 2023-03-09 12:49:03 +09:00
  • 5dc02dab0e refactor: fix the error flow Saeid Saeidee 2023-03-08 21:37:26 +01:00
  • 7e84b6b4b5 refactor: translate error only when it is not nil Saeid Saeidee 2023-03-08 21:30:18 +01:00
  • 414f34b00d Add test for composite key with auto-increment. truongns 2023-03-08 18:09:44 +09:00
  • bf49d4caa4
    fix: on confilct with default null a631807682 2023-03-07 21:46:44 +08:00
  • a6e90777e3 Fix #4930 workaround for databases that support auto-increment in composite primary key. truongns 2023-03-07 18:10:25 +09:00
  • 85eaf9eeda
    feat: Unique Constraint Violation error translator for different drivers (#6004) Saeid Kanishka 2023-03-06 07:03:31 +01:00
  • f3874339ef Fix Save with stress tests v1.24.6 Jinzhu 2023-03-02 17:22:42 +08:00
  • 66eb30f67d Revise README for correction. Do Nhu Vy 2023-03-02 15:16:44 +07:00
  • f5902558db test: pgsql alter column from string to boolean Jeffry Luqman 2023-02-28 17:40:50 +07:00
  • 1a2376dba3 test: pgsql alter column from smallint to boolean Jeffry Luqman 2023-02-28 15:21:21 +07:00
  • 877cc9148f
    Remove redundant code (#6087) Jiepeng Cao 2023-02-27 15:44:35 +08:00
  • a80707de9e
    Create and drop view (#6097) black-06 2023-02-27 15:43:10 +08:00
  • 391c961c7f
    quotes on docker-compose.yml ports (#6089) Jiepeng Cao 2023-02-27 15:39:02 +08:00
  • b6000f5324 check param and add comment black 2023-02-24 17:14:34 +08:00
  • 9567d5303d fix test black 2023-02-23 19:10:06 +08:00
  • 6537d7ca8d add comment black 2023-02-23 18:48:03 +08:00
  • 361a2c3dd2
    fix: diff schema update assign value a631807682 2023-02-23 18:29:43 +08:00
  • 2f228b606c create view black 2023-02-23 18:24:23 +08:00
  • 8cbce80c3c quotes on docker-compose.yml ports jiepeng 2023-02-22 14:54:14 +08:00
  • d975b8038b style: applied styler Saeid Saeidee 2023-02-21 17:12:14 +01:00
  • 15cae34f69 refactor: added ErrorTransltor interface Saeid Saeidee 2023-02-21 17:10:49 +01:00
  • 584e1acd7d Remove redundant code jiepeng 2023-02-21 20:26:01 +08:00
  • 4499a24822 rename variable black 2023-02-21 14:35:27 +08:00
  • 08e9ba73a8 fix for golangci-lint black 2023-02-20 18:05:49 +08:00
  • 6cc0fb6f03 add test black 2023-02-20 16:47:59 +08:00
  • 2f48ddbea8 distinguish between detected and custom type (#6033) black 2023-02-20 16:26:22 +08:00
  • 567112daa7
    chore(deps): bump gorm.io/driver/postgres from 1.4.6 to 1.4.8 in /tests dependabot[bot] 2023-02-20 07:57:34 +00:00
  • 04506ad0bf
    chore(deps): bump gorm.io/driver/mysql from 1.4.6 to 1.4.7 in /tests dependabot[bot] 2023-02-20 07:57:23 +00:00
  • 20275fa194
    revert: disable savepoint in prepare stmt a631807682 2023-02-20 13:42:28 +08:00
  • a3f8c94efe
    test: add more tests a631807682 2023-02-18 13:22:15 +08:00
  • 04cbd956eb
    test: pgsql migrate unique index (#6028) Cr 2023-02-18 09:21:07 +08:00
  • e66a059b82
    fix: update panic if model is not ptr (#6037) black-06 2023-02-18 09:20:29 +08:00
  • 42fc75cb2c
    fix: association concurrently appending (#6044) black-06 2023-02-18 09:19:24 +08:00
  • aa89736db2
    fix: miss join type (#6056) Cr 2023-02-18 09:13:36 +08:00
  • 532e9cf4cc
    Issue 6054: Unscoped not working with PreLoad on Joins (#6058) Michael Anstis 2023-02-18 01:06:43 +00:00
  • 22267f9418 test for allow use struct field tag in Exec houbaron 2023-02-17 19:50:56 +08:00
  • 15d16fba42 allow use struct field tag in Exec() and Raw() houbaron 2023-02-17 19:41:39 +08:00
  • 724e9001a6
    fix: empty rel value a631807682 2023-02-17 16:00:24 +08:00
  • 0dcb172013
    feat: support nested join a631807682 2023-02-17 15:36:21 +08:00
  • d093b4b06a
    chore: code style a631807682 2023-02-15 15:37:47 +08:00
  • f43c523548
    chore: trigger ci a631807682 2023-02-15 15:32:40 +08:00
  • 07d355c82d
    fix: ignore if not prepare stmt a631807682 2023-02-15 15:22:42 +08:00
  • 96435e699e Formatting Michael Anstis 2023-02-15 07:20:20 +00:00
  • 484d162023
    feat: disable prepare nested transaction a631807682 2023-02-15 14:59:28 +08:00
  • e833df1935 Issue 6054: Unscoped not working with PreLoad on Joins Michael Anstis 2023-02-14 09:27:16 +00:00
  • 834602eeee
    fix: miss join type a631807682 2023-02-14 14:01:47 +08:00
  • edb2e7a713
    fix: miss join type a631807682 2023-02-14 13:56:19 +08:00
  • b3ff18ec98
    chore(deps): bump gorm.io/driver/postgres from 1.4.6 to 1.4.7 in /tests dependabot[bot] 2023-02-13 07:57:56 +00:00
  • 40b3d4bc89 fix: return black 2023-02-13 15:30:58 +08:00
  • c45ac6489b fix: raise an error if the value is not addressable black 2023-02-13 09:05:37 +08:00
  • 9141b3b9c8 fix: fix gofumpt black 2023-02-10 15:54:58 +08:00
  • 896b1be443 fix: fix unit test black 2023-02-10 14:57:00 +08:00
  • 85f2d9d546 fix: update panic if model is not ptr black 2023-02-09 17:35:07 +08:00
  • e65f454c48 fix: update panic if model is not ptr black 2023-02-09 14:43:18 +08:00
  • 96596e6608 fix: association concurrently appending black 2023-02-09 12:41:04 +08:00
  • 02b7e26f6b
    feat: add tidb integration test cases (#6014) Cheese 2023-02-08 16:29:09 +08:00
  • 98e4b8ad50 feat: update the mysql driver version to test Icemap 2023-02-08 15:22:14 +08:00
  • 878ac51e98
    fix:throw model value required error (#6031) Cr 2023-02-08 13:40:41 +08:00
  • 72decd069b fix: update panic if model is not ptr black 2023-02-07 16:26:41 +08:00
  • eb40696eab
    chore: gofumpt style a631807682 2023-02-07 12:18:41 +08:00
  • 9d3e9028e0
    refactor: use other error a631807682 2023-02-07 12:15:37 +08:00
  • 2fc8b96174
    chore:ingore errcheck a631807682 2023-02-06 15:10:32 +08:00
  • 2e19e929ed
    chore:ingore typecheck a631807682 2023-02-06 14:44:46 +08:00
  • 04af65df35
    fix:throw model value required error a631807682 2023-02-06 14:28:44 +08:00
  • de99171f36
    test: pgsql migrate unique index a631807682 2023-02-05 22:06:18 +08:00