6 Commits

Author SHA1 Message Date
Jinzhu
c44405a25b
Implement Generics API (#7424)
* Implement Generics API

* Add more generics tests

* Add more tests and Take method

* use delayed‑ops pipeline for generics API

* fix generics tests for mysql

* Support SubQuery for Generics

* Add clause.JoinTable helper method

* Fix golangci-lint error

* Complete the design and implementation of generic version Join

* improve generics version Joins support

* allow configuring select/omit columns for joins via subqueries

* finish generic version Preload

* handle error of generics Joins/Preload

* fix tests

* Add LimitPerRecord for generic version Preload

* fix tests for mysql 5.7

* test for nested generic version Join/Preload

* Add WithResult support for generics API

* test reuse generics db conditions

* fix data race

* remove ExampleLRU test

* Add default transaction timeout support

* fix test
2025-05-25 15:40:40 +08:00
jessetang
f82e9cfdbe
test(clause/joins): add join unit test (#5832) 2022-11-03 21:03:13 +08:00
Jinzhu
4456df7a5d Lint with golangci-lint 2020-07-16 11:27:12 +08:00
Jinzhu
50aa9be4f1 Add joins support 2020-04-15 09:45:43 +08:00
Jinzhu
af080e6773 Fix primary key tag 2020-03-12 08:39:42 +08:00
Jinzhu
5fce17543a Add Joins 2020-03-08 19:12:33 +08:00