Commit Graph

  • 6befa0c947 Refactor preload error check Jinzhu 2022-03-17 11:22:25 +08:00
  • c2d084a788 fix args length error. kvii2202 2022-03-16 20:44:43 +08:00
  • 825bbf35ec Add with clause support kvii2202 2022-03-16 19:54:12 +08:00
  • c259de2176 Update scan_test.go Hasan 2022-03-14 20:04:01 +05:45
  • 61b4c31236
    fix when index name is "type", parseFieldIndexes will set index TYPE is "TYPE" (#5155) labulakalia 2022-03-14 21:47:59 +08:00
  • 09f127b491 Added test for scanning embedded data into structs Hasan 2022-03-14 19:23:47 +05:45
  • b020d5227e check TYPE empty labulakalia 2022-03-14 14:10:19 +08:00
  • 9695ddf4f1 fix index name is type, parseFieldIndexes will set index TYPE is "TYPE" labulakalia 2022-03-14 11:48:45 +08:00
  • 6e3ca2d1aa test: add test for LoadOrStoreVisitMap a631807682 2022-03-13 12:52:08 +08:00
  • f961bf1c14
    chore(deps): bump actions/checkout from 2 to 3 (#5133) dependabot[bot] 2022-03-12 22:28:18 +08:00
  • cb18433078 refactor SelectAndOmitColumns 0x2d3c 2022-03-12 00:44:34 +08:00
  • 6aeaa94eea refactor SelectAndOmitColumns 0x2d3c 2022-03-12 00:35:30 +08:00
  • da07675bae
    Merge branch 'go-gorm:master' into master Qt 2022-03-11 22:17:17 +08:00
  • 9d5c68e410 chore: add more comment chenrui 2022-03-10 20:33:47 +08:00
  • bfffefb179 fix: should check values has been saved instead of rel.Name chenrui 2022-03-10 20:28:48 +08:00
  • e55cdfa4b3 chore: go lint chenrui 2022-03-08 17:48:01 +08:00
  • fe4715c5bd chore: add test comment chenrui 2022-03-08 17:27:24 +08:00
  • 326862f3f8 fix: circular reference save chenrui 2022-03-08 17:22:33 +08:00
  • aeaca493cf Added offset when scanning the result back to struct Hasan 2022-03-08 04:08:16 +06:00
  • 8559f51102 fix: should add deleted_at exprs for every joins chenrui 2022-03-07 20:33:12 +08:00
  • c5f7c4c264 fix: belongs to support omit ref.* chenrui 2022-03-07 18:12:39 +08:00
  • 0c968b24a8 fix: Omit 'model' and 'model.*' should be same chenrui 2022-03-07 16:44:47 +08:00
  • 86c82d223a
    chore(deps): bump actions/checkout from 2 to 3 dependabot[bot] 2022-03-07 07:10:50 +00:00
  • 2b7a1bdcf3 test: move debug flag chenrui 2022-03-07 14:46:48 +08:00
  • ce13a2a7bc fix: soft delete for join.on chenrui 2022-03-07 14:39:56 +08:00
  • 40cbba49f3 test: fix test fail chenrui 2022-03-05 17:36:56 +08:00
  • 66d3f07829 test: drop table and auto migrate chenrui 2022-03-05 17:29:09 +08:00
  • 7cbf019a93 fix: preload panic when model and dest different chenrui 2022-03-05 15:27:45 +08:00
  • b566ed7913
    Merge pull request #5125 from CaoManhDat/master Jason Lee 2022-03-04 11:37:37 +08:00
  • 29a8557384 ToSQL should enable SkipDefaultTransaction by default Cao Manh Dat 2022-03-03 09:17:29 +07:00
  • 4e523499d1 Refactor Tx interface v1.23.2 Jinzhu 2022-03-01 16:48:46 +08:00
  • 996b96e812 Add TxConnPoolBeginner and Tx interface lianghuan 2022-02-28 17:12:09 +08:00
  • 649061adea Add TxConnPoolBeginner and Tx interface lianghuan 2022-02-28 17:12:09 +08:00
  • e2e802b837 Refactor Scan Jinzhu 2022-02-28 09:28:19 +08:00
  • 43a72b369e Refactor Scan Jinzhu 2022-02-27 22:54:43 +08:00
  • 530b0a12b4 Add fast path for ValueOf, ReflectValueOf Jinzhu 2022-02-27 22:10:17 +08:00
  • 4d14ac39ff Merge branch 'a631807682-i5091' Jinzhu 2022-02-27 09:12:35 +08:00
  • 68bb5379d9 Refactor scan into struct Jinzhu 2022-02-27 09:09:29 +08:00
  • f2edda50e1 Refactor check missing where condition Jinzhu 2022-02-25 10:48:23 +08:00
  • 397b583b8e fix: query scanner in single column chenrui 2022-02-25 22:38:48 +08:00
  • 5d84ac618c
    Merge branch 'go-gorm:master' into master Qt 2022-02-25 16:02:46 +08:00
  • 6a18a15c93 Refactor check missing where condition Jinzhu 2022-02-25 10:48:23 +08:00
  • 28971c7899 Fixed querying on case sensitive systems Gerhard Gruber 2022-02-24 12:57:14 +01:00
  • 3741f258d0
    feat: support gob serialize (#5108) jing1 2022-02-24 10:21:27 +08:00
  • 45ef1da7e4
    Fix naming longer then 64 chars with dots in table (#5045) Michael Nussbaum 2022-02-23 21:10:20 -05:00
  • 6c7b46a231 feat: support gob serialize ag9920 2022-02-23 20:09:26 +08:00
  • 59b92a24a6 Fix naming longer then 64 chars with dots in table mnussbaum 2022-01-31 10:58:51 -08:00
  • b1201fce4e Fix update with customized time type, close #5101 Jinzhu 2022-02-23 17:48:13 +08:00
  • 4a97b4ad22
    chore(deps): bump gorm.io/driver/mysql from 1.3.1 to 1.3.2 in /tests dependabot[bot] 2022-02-21 07:12:15 +00:00
  • 7837fb6fa0
    fix typo in TxCommitter interface comment & improve CheckTruth, chek val empty first (#5094) Qt 2022-02-20 21:19:15 +08:00
  • 664c5fb767
    strings.replace -> strings.replaceAll (#5095) codingxh 2022-02-20 19:55:04 +08:00
  • a71eb3621c strings.replace -> strings.replaceAll huquan.95 2022-02-20 19:43:39 +08:00
  • 25de55b377 improve CheckTruth, chek val empty first 0x2d3c 2022-02-20 18:39:13 +08:00
  • 9e17be494b fix typo in TxCommitter interface comment 0x2d3c 2022-02-20 18:30:17 +08:00
  • f3547e00cc
    Inherit clone flag (NewDB) on transaction creation (#5012) Gilad Weiss 2022-02-20 02:33:12 +02:00
  • 5edc78116f Fixed the use of "or" to be " OR ", to account for words that contain "or" or "and" (e.g., 'score', 'band') in a sql statement as the name of a field. sammyrnycreal 2022-02-14 14:13:26 -05:00
  • 48ced75d1d Improve support for AutoMigrate v1.23.1 Jinzhu 2022-02-19 23:42:20 +08:00
  • e0b4e0ec8f Update auto stale days v1.23.0 Jinzhu 2022-02-19 17:08:11 +08:00
  • 0af95f509a Enhance migrator Columntype interface (#5088) Jinzhu 2022-02-19 16:59:22 +08:00
  • 39d84cba5f Add serializer support (#5078) Jinzhu 2022-02-16 15:30:43 +08:00
  • b17c550011
    Enhance migrator Columntype interface (#5088) Jinzhu 2022-02-19 16:59:22 +08:00
  • 384ceed8c6 Fix typo Jinzhu 2022-02-19 16:52:41 +08:00
  • 500bff5c96 Upgrade test drivers Jinzhu 2022-02-19 15:18:59 +08:00
  • d72583af5e Update MigrateColumn Test Jinzhu 2022-02-18 17:49:42 +08:00
  • edb3c428d2 Update Migrator ColumnType interface Jinzhu 2022-02-17 22:15:58 +08:00
  • 9be2869a10 Chain closure dynamic condition implementation WanYun 2022-02-17 11:21:27 +08:00
  • 5299a0f9da
    Add serializer support (#5078) Jinzhu 2022-02-16 15:30:43 +08:00
  • 2c9e215396 Update go.mod Jinzhu 2022-02-16 15:29:12 +08:00
  • c59748da97 Add unixtime serializer Jinzhu 2022-02-16 15:21:58 +08:00
  • 992042b46e Test serializer tag Jinzhu 2022-02-15 22:50:31 +08:00
  • 379ce9f27b Fix JSONSerializer for sqlserver Jinzhu 2022-02-15 21:43:53 +08:00
  • 94d502b71b Fix JSONSerializer for postgres Jinzhu 2022-02-15 21:37:28 +08:00
  • a1dc940af3 Finish Serializer Jinzhu 2022-02-15 21:29:29 +08:00
  • 5f6d85c00a Add serializer test Jinzhu 2022-02-15 20:47:22 +08:00
  • 19ac396a22
    fix: isPrintable incorrect (#5076) li-jin-gou 2022-02-15 20:32:03 +08:00
  • 0b039497c4 Add Serializer Value method Jinzhu 2022-02-15 20:31:28 +08:00
  • 3c015cead7 style: use ReplaceAll instead of Replace kinggo 2022-02-15 20:27:03 +08:00
  • 4419f0b4f0 fix: isPrintable incorrect kinggo 2022-02-15 20:21:59 +08:00
  • 010ea95eb5 fix: isPrintable incorrect kinggo 2022-02-15 20:17:56 +08:00
  • bf85076f0e Add Serializer Scan support Jinzhu 2022-02-15 20:14:57 +08:00
  • 6393ad5222 Add poolInitializer Jinzhu 2022-02-15 15:38:53 +08:00
  • 20abf83a21 Fix pool manager Jinzhu 2022-02-15 15:08:43 +08:00
  • 744c91c9a7 Add pool manager Jinzhu 2022-02-15 13:53:46 +08:00
  • a69b5b3c88 Fixed the use of "or" to be " OR ", to account for words that contain "or" or "and" (e.g., 'score', 'band') in a sql statement as the name of a field. sammyrnycreal 2022-02-14 14:13:26 -05:00
  • 7e37f3ad75 Fix test Jinzhu 2022-02-14 23:26:09 +08:00
  • 07f0438435 Add sync.Pool Jinzhu 2022-02-14 19:31:32 +08:00
  • fb52b97363 Refactor setter, valuer Jinzhu 2022-02-14 16:28:47 +08:00
  • 69b851ed95 Refactor gorm field Jinzhu 2022-02-14 15:51:32 +08:00
  • 3c77eb0bb0 Add Serializer Interface Jinzhu 2022-02-10 20:11:37 +08:00
  • 1b6cc25e19 Merge branch 'field_context' Jinzhu 2022-02-10 15:02:22 +08:00
  • 211aaed6c4 Add Serializer Jinzhu 2022-02-10 15:01:02 +08:00
  • a0aceeb33e Migrator AlterColumn with full data type Jinzhu 2022-02-09 17:39:01 +08:00
  • df2365057b Remove uncessary switch case Jinzhu 2022-02-09 17:23:16 +08:00
  • 4eeb839cea Better support Stringer when explain SQL Jinzhu 2022-02-09 15:17:19 +08:00
  • d22215129e
    fix: replace empty table name result in panic (#5048) li-jin-gou 2022-02-08 17:06:10 +08:00
  • 416c4d0653 Test query with Or and soft delete Jinzhu 2022-02-08 16:31:24 +08:00
  • a9c106f4c8 fix: replace empty table name result in panic kinggo 2022-02-07 19:21:07 +08:00
  • 93b1a6f7ea
    Merge pull request #5043 from Saurabh-Thakre/patch-2 Jason Lee 2022-02-04 22:31:21 +08:00
  • e31a21bfc0 fix: replace empty name result in panic li-jin-gou 2022-02-03 22:48:36 +08:00
  • 12da32142e fix error info not match description problem. horizonzy 2022-01-31 20:57:31 +08:00