fbb9c74aab
Adds scan-into-dest query helpers and update-one-row semantics with Context variants, tests, and documentation updates. Co-authored-by: Cursor <cursoragent@cursor.com>
1.3 KiB
1.3 KiB
Changelog
Unreleased (v1.0.0)
Breaking changes
- Removed
UUID,NewUUID, andParseUUID. - Added
StringKSUIDandBinaryKSUIDwith distinct SQL encodings and shared GraphQL string scalar transit. - Removed
DBConfig.AutoMigrate,SQLOFunc, andJSONB.ToMap(). - Replaced
Column/ColumnListintersection interfaces with dialect-neutral type aliases. Apply*andExpr*helpers now acceptColumn/ColumnList/Expressionaliases instead ofmysql.*types.
Added
StringKSUID.Equal/IsZero,BinaryKSUID.Equal/IsZero, and nil sentinel vars for [ApplyInterfacePtr].Query,MustQuery, andUpdateOnehelpers (+ Context variants).- Context-aware variants for all query and mutation helpers.
Delete,DeleteAffected,WithTx,ContainsCol, andCurrentDialect().- Package documentation (
doc.go), expanded README, and subpackage docs fordbxm/dbxp. - Comprehensive tests for KSUID types, CRUD helpers, column utilities, and module lifecycle.
Changed
- Debug logger setup returns an error instead of panicking when
DebugLogis enabled without a dialect logger blank import. DestNameskips logging when the database module is not initialized.- Source reorganized into domain-focused files (
query.go,exec.go,apply.go, etc.).