Releases: ShiftLeftSecurity/gaum
Releases · ShiftLeftSecurity/gaum
Add Close to the connection.DB interface
Close allows users to close the underlying connections, useful for cases, like tests, where one opens too many connections and does not need them to be long lived.
Support returning on insert mutli
v2.1.7 Merge pull request #64 from ShiftLeftSecurity/allow-returning-for-ins…
include complex function with static arguments
bug fixes, c.f. #59
Bring back GoTestingLogger
Now without typo
Fix all imports inside 2.x.x
Merge pull request #55 from ShiftLeftSecurity/chipaca/v2-is-v2 update all the imports to also be v2
Update go.mod
Go modules requires things to happen to understand a version is 2.x...
So it needs to be added to the path of the module even though it is right there in the path.
Support SetSQLWithArgs on conflict
db/chain: OnUpdate.SetSQLWithArgs to pass args on conflict (#53) OnUpdate.SetSQLWithArgs to pass args on conflict This enables building SQL that has things like ... ON CONFLICT ... DO UPDATE SET (foo) = (foo || $n) which is nice.
Support placeholder escaping
v1.1.1 Merge pull request #52 from ShiftLeftSecurity/preetam/support-placeho…
Add new `SetSQLNoParens` method.
Merge pull request #50 from ShiftLeftSecurity/olof/fix/more-variants Add variant to set SQL on updates without parens.
Bump `github.com/Wjackc/pgx` to `v4` API.
Following #49 there are some incompatible interface changes requiring a large bump, therefore the version 2 seems justified.