mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
6314cd4c8986841c89e151626e0b3c44b0a17a99
## Summary - Port 25 SQL builder tests: WhereBuilder chaining, complex Where/WhereOr/WhereNot combinations, nested builders, Build() output verification - Port 9 subquery tests: subquery in Where/Having/From, correlated subqueries, subquery with Model builder - Port 11 struct-mapping tests: Scan to struct/slice, embedded structs, tag-based field mapping, pointer fields, OmitEmpty with struct input - Port 12 join tests: LeftJoin/RightJoin/InnerJoin, multi-table joins, join with Where/Order/Fields, subquery joins, testdata SQL-based join scenarios - Port 8 batch operation tests: Batch insert/update/replace/save with configurable batch size, conflict handling - Port 4 cache tests: query result caching, cache invalidation on update/delete, cache duration, ClearCache - Port 4 OmitNil/OmitEmpty tests: nil field omission in insert/update, zero-value vs nil distinction All tests are structurally identical to the MySQL driver baseline. SQL syntax is standard and shared. Package and import references are adapted for MariaDB. ref #4689
refactor(container): add default nil checker, rename RegisterNilChecker to SetNilChecker, migrate instance containers to type-safe generics (#4630)
fix(databse/gdb): use COUNT(1) if fields number is greater than 1 even when parameter
useFieldForCount is true in AllAndCount/ScanAndCount (#4701)
refract(gerror): add ITextArgs interface and its implements, mainly for i18n that needs text and args separately (#4597)
English | 简体中文
A powerful framework for faster, easier, and more efficient project development.
Installation
go get -u github.com/gogf/gf/v2
Documentation
- Official Site: https://goframe.org
- Official Site(en): https://goframe.org/en
- 国内镜像: https://goframe.org.cn
- Mirror Site: https://pages.goframe.org
- Mirror Site: Offline Docs
- GoDoc API: https://pkg.go.dev/github.com/gogf/gf/v2
- Doc Source: https://github.com/gogf/gf-site
Contributors
💖 Thanks to all the contributors who made GoFrame possible 💖
License
GoFrame is licensed under the MIT License, 100% free and open-source, forever.
Languages
GO
100%
