mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
## Summary - Port MySQL test coverage for Builder, Subquery, Join, and Struct features to PgSQL driver - Add 4 new test files with 23 test functions covering builder patterns, subquery WHERE/HAVING/Model, all JOIN types, and struct scanning - PgSQL dialect adaptations: double-quoted identifiers, GROUP BY with HAVING, letter-prefixed table names, int64 id assertions, removed `Uid` field ## Test plan - [x] Builder tests pass: `go test -v -run "Test_Model_Builder|Test_Safe_Builder" -count=1` - [x] Subquery tests pass: `go test -v -run "Test_Model_SubQuery" -count=1` - [x] Join tests pass: `go test -v -run "Test_Model_.*Join.*|Test_Model_FieldsPrefix" -count=1` - [x] Struct tests pass: `go test -v -run "Test_Model_Embedded|Test_Struct|Test_Structs|Test_Model_Scan|Test_Scan_Auto" -count=1` - [x] Full PgSQL test suite: 113/113 PASS ref #4689