Commit Graph

  • 0305e0d63e fix data race Jinzhu 2025-05-22 22:57:43 +08:00
  • 8ced5498df test reuse generics db conditions Jinzhu 2025-05-22 22:31:40 +08:00
  • ddaee81548 Add WithResult support for generics API Jinzhu 2025-05-22 20:19:23 +08:00
  • 774d957089 test for nested generic version Join/Preload Jinzhu 2025-05-22 19:45:34 +08:00
  • 8e7ab46c1b
    fix: return init dialector error (#7379) codingplz 2025-05-22 10:53:47 +08:00
  • e3037e4ef0
    perf: break early on match failure in ParseConstraint (#7402) Name 2025-05-22 10:49:19 +08:00
  • b1bb428df5 Feature: add RightJoin Function Justin Kühner 2025-05-21 17:16:55 +02:00
  • 304baabb12 fix tests for mysql 5.7 Jinzhu 2025-05-21 22:07:20 +08:00
  • 6307f69f18 Add LimitPerRecord for generic version Preload Jinzhu 2025-05-21 18:04:20 +08:00
  • 2e7a1e3abe Draft: Print full stack for executed queries Gerald Wagner 2025-05-21 10:27:03 +02:00
  • 1204330419
    feat: error message show field name (#7452) pipipipipip 2025-05-21 11:13:31 +08:00
  • 35515529a2 feat: failed to parse field zyp 2025-05-21 11:09:43 +08:00
  • bdb72908a8 feat: failed to parse field zyp 2025-05-21 11:04:35 +08:00
  • 9703eb775f
    perf: use strings.IndexByte to replace strings.Index (#7454) Name 2025-05-21 10:35:56 +08:00
  • 1c966e0d25
    perf: use strings.Cut to replace strings.SplitN (#7455) Name 2025-05-21 10:35:23 +08:00
  • 91eb9477f2
    Merge branch 'master' into generics Jinzhu 2025-05-20 23:03:35 +08:00
  • 9b1ce2b763 fix tests Jinzhu 2025-05-20 23:02:40 +08:00
  • e330694e26 handle error of generics Joins/Preload Jinzhu 2025-05-20 22:52:55 +08:00
  • 4694673526 finish generic version Preload Jinzhu 2025-05-20 22:46:24 +08:00
  • ba94e4eb2f allow configuring select/omit columns for joins via subqueries Jinzhu 2025-05-20 20:02:04 +08:00
  • d073805c86 improve generics version Joins support Jinzhu 2025-05-20 19:44:57 +08:00
  • fa43bddebe
    Create modelp.go snowdream 2025-05-17 13:31:49 +08:00
  • 7e19567156 feat: support case insensitive schema fields John Boone 2025-05-15 12:51:02 -04:00
  • 3a361ef796 perf: use strings.Cut to replace strings.SplitN 1911860538 2025-05-13 23:13:47 +08:00
  • 7baa7e74ec perf: use strings.IndexByte to replace strings.Index 1911860538 2025-05-13 22:47:10 +08:00
  • 904b1289a4 Address lint issues Keith Martin 2025-05-12 23:16:14 +10:00
  • c9984634ac Address lint issues Keith Martin 2025-05-12 23:05:34 +10:00
  • 0fe079686b Correct check for single column pk to handle multi column pk Keith Martin 2025-05-12 22:21:23 +10:00
  • f121f183b0 Add test for Composite Key FindInBatches Keith Martin 2025-05-12 21:38:37 +10:00
  • 881bd7747b Add handling for Composite Primary Keys to First, Last, FindInBatches, FirstOrInit and FirstOrCreate. Keith Martin 2025-05-12 21:36:41 +10:00
  • 4b7674a3b6 feat: error message show field name zyp 2025-05-12 18:21:29 +08:00
  • 05925b2fc0 Complete the design and implementation of generic version Join Jinzhu 2025-05-09 17:16:10 +08:00
  • e5b867e785 remove unnecessary session-level configuration for prepared statements v1.26.1 Jinzhu 2025-05-07 14:56:49 +08:00
  • 03d4e7e6ac
    fix: handle error moein 2025-05-05 15:05:37 +03:30
  • 389a302d38
    fix: add error for multiple rows found moein 2025-05-05 15:00:57 +03:30
  • 4386e52264
    feat: add Only moein 2025-05-05 14:16:22 +03:30
  • 8c4e8e2d2a
    fix: int type variable defaultMaxSize overflows in 32-bit environment (#7439) iTanken 2025-04-27 14:05:16 +08:00
  • bfc66ccdfe fix: int type variable defaultMaxSize overflows in 32-bit environment iTanken 2025-04-27 03:30:30 +00:00
  • a827495be1
    Preparestmt use LRU Map instead default map (#7435) v1.26.0 Zhaodong Xie 2025-04-25 16:22:26 +08:00
  • 4571df5a0f Merge remote-tracking branch 'origin/feature/sup_lru_prepareStmt' into feature/sup_lru_prepareStmt xiezhaodong 2025-04-25 16:21:22 +08:00
  • bb11909ac0 ADD UT xiezhaodong 2025-04-25 16:19:30 +08:00
  • c588e740e1 code format according to golinter ci Jinzhu 2025-04-25 16:18:57 +08:00
  • 29a3f7e7c4 format code and add session level prepare stmt config Jinzhu 2025-04-25 16:15:00 +08:00
  • f4e7282442 ADD UT xiezhaodong 2025-04-25 16:12:06 +08:00
  • 9dd62639a5 change const export xiezhaodong 2025-04-25 15:56:58 +08:00
  • 2ec55b55c4 Rename lru store Jinzhu 2025-04-25 11:33:15 +08:00
  • 14dc8ed9e0 refact prepare stmt store Jinzhu 2025-04-25 11:29:39 +08:00
  • 886a406556 Add stmt_store Jinzhu 2025-04-24 17:42:38 +08:00
  • dfa1b81f65 change const export xiezhaodong 2025-04-24 16:47:39 +08:00
  • 3758fb9de2 只使用lru xiezhaodong 2025-04-24 16:36:55 +08:00
  • 4be2fdb497 只使用lru xiezhaodong 2025-04-24 16:19:59 +08:00
  • cfd5f258cc 只使用lru xiezhaodong 2025-04-24 16:18:22 +08:00
  • 3ccf0b0ff7 只使用lru xiezhaodong 2025-04-24 16:14:47 +08:00
  • b0dcec6c81 只使用lru xiezhaodong 2025-04-24 16:12:39 +08:00
  • 2a08d0e193 只使用lru xiezhaodong 2025-04-24 16:11:48 +08:00
  • e233e7c195 只使用lru xiezhaodong 2025-04-24 16:10:07 +08:00
  • 00f5a0449c 只使用lru xiezhaodong 2025-04-24 16:08:56 +08:00
  • 3f922a78c8 只使用lru xiezhaodong 2025-04-24 16:00:01 +08:00
  • 7095605cd0 Fix golangci-lint error Jinzhu 2025-04-21 17:33:34 +08:00
  • 4fcd909f2e Add clause.JoinTable helper method Jinzhu 2025-04-20 20:08:07 +08:00
  • 797a557cc8 Support SubQuery for Generics Jinzhu 2025-04-20 10:47:00 +08:00
  • 3de6d0b2f9 fix generics tests for mysql Jinzhu 2025-04-18 20:28:21 +08:00
  • 2d6d7f9485 use delayed‑ops pipeline for generics API Jinzhu 2025-04-18 18:18:56 +08:00
  • ba27874dcd Add more tests and Take method Jinzhu 2025-04-17 22:15:10 +08:00
  • 7e933f20bc tests: Added tests for associations Gaurav Dhameeja 2025-04-17 11:59:26 +04:00
  • 0fbe4f6dc4 Add more generics tests Jinzhu 2025-04-17 20:16:51 +08:00
  • 8028765f4b
    Merge 31ae7feae2ae051b1b4c9694f07dc2ca1699c00f into 489a56329318ee9316bc8a73f035320df6855e53 Omkar P 2025-04-17 17:34:47 +08:00
  • 1bd31b0760 Merge branch 'master' into generics Jinzhu 2025-04-17 15:45:40 +08:00
  • 489a563293 only check new issues for golangci linter Jinzhu 2025-04-17 15:30:17 +08:00
  • ff8d0b3ddb TEST:Optimistic Lock in BeforeUpdate: PK Condition Placement Affecting DB Plan Efficiency sirius 2025-04-17 15:05:25 +08:00
  • ded38c5174 Merge branch 'master' into generics Jinzhu 2025-04-17 15:01:32 +08:00
  • 42bd4f603c
    use golangci replace reviewdog (#7426) Jinzhu 2025-04-17 11:55:13 +08:00
  • dc3f2394b7 FIX:Optimistic Lock in BeforeUpdate: PK Condition Placement Affecting DB Plan Efficiency sirius 2025-04-17 11:43:14 +08:00
  • bbd8d3cfac Update golangci config golangci Jinzhu 2025-04-17 11:34:24 +08:00
  • fb5a4d57c4 use golangci replace reviewdog Jinzhu 2025-04-17 11:31:04 +08:00
  • 2cb8f60ac2 switch from reviewdog to golangci-lint reviewdog Jinzhu 2025-04-17 11:12:07 +08:00
  • e46ffe68fe Update review dog config Jinzhu 2025-04-17 11:00:57 +08:00
  • f3ff534c54 Implement Generics API Jinzhu 2025-04-17 09:44:25 +08:00
  • 618e8c1aa6 支持lru淘汰preparestmt cache xiezhaodong 2025-04-15 12:08:29 +08:00
  • 3ae5fdee0c 支持lru淘汰preparestmt cache xiezhaodong 2025-04-15 11:42:00 +08:00
  • 6384ec42da 支持lru缓存 xiezhaodong 2025-04-14 20:38:57 +08:00
  • bc26d3bda6 支持lru缓存 xiezhaodong 2025-04-14 20:27:45 +08:00
  • ecac72ad8b 支持lru缓存 xiezhaodong 2025-04-14 20:17:41 +08:00
  • e284eebbc5 支持lru缓存 xiezhaodong 2025-04-14 20:17:12 +08:00
  • a94c905875 fixed memory leak in func (stmt *Statement) ParseWithSpecialTableName Nikitin Aleksandr 2025-04-14 13:02:08 +03:00
  • 5d5f13686b fixed memory leak in func (stmt *Statement) ParseWithSpecialTableName Nikitin Aleksandr 2025-04-14 12:48:08 +03:00
  • 565375dfb7 支持lru缓存 xiezhaodong 2025-04-14 16:09:50 +08:00
  • 057f5fdcd6 支持lru缓存 xiezhaodong 2025-04-14 14:52:06 +08:00
  • 36126b8856 支持lru缓存 xiezhaodong 2025-04-14 14:45:36 +08:00
  • d46e8a6f92 支持lru缓存 xiezhaodong 2025-04-14 14:35:33 +08:00
  • 1d376947cb 支持lru缓存 xiezhaodong 2025-04-14 13:17:48 +08:00
  • eba4323a4e 支持lru缓存 xiezhaodong 2025-04-14 13:13:06 +08:00
  • 5225c20309 支持lru淘汰preparestmt cache xiezhaodong 2025-04-14 13:07:37 +08:00
  • 8492af206f fix out of range error KEHyeon 2025-04-13 19:05:14 +09:00
  • f5ac40e395 Add test about interface type array KEHyeon 2025-04-13 18:59:32 +09:00
  • b5d069300c fix: prevent interface type array from causing runtime errors KEHyeon 2025-04-13 18:57:57 +09:00
  • 507059e519 fix Test Create With Interface Array KEHyeon 2025-04-13 18:49:05 +09:00
  • 9ef679b35f test KEHyeon 2025-04-13 18:10:07 +09:00
  • de14f8b4b7 Add test about interface KEHyeon 2025-04-13 17:48:02 +09:00
  • f64a8c4e46 fix : slice index out of range bug KEHyeon 2025-04-13 17:42:55 +09:00