You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set DBTxn.SchemaName so individual transaction steps run in a specific schema (e.g. multi-tenant)
Standalone ORM implementation
Full in-repo implementation of SQLGORM and helpers (including sqlormHelper with chunking)
No dependency on AdsCommonPackages/orm
Config and client
Local GORMConfig and DBConnectionConfigurations (no external config package)
sqlclient.Init() now returns an error when db.DB() fails
Documentation
README: Transaction section documents all supported ops, chunking, and SchemaName; Quick Start uses DatabaseSchemas; new "Batch and chunked operations" section; API reference updated for ExecuteDBTxn
Examples: Transaction demo includes CreateInBatches, UpsertInBatches, and DeleteInBatches; examples README updated for batch transaction usage
Tooling / Mocks
Mockery v3: Added interfaces/.mockery.yaml; regenerated mock_IORMHandler.go; go generate uses mockery --config .mockery.yaml; removed invalid pkgname from config
Breaking changes
Config: Use DatabaseSchemas (comma-separated) instead of DatabaseSchema in DBConnectionConfigurations
Dependencies: No new go.mod deps; removes need for AdsCommonPackages at runtime