Skip to content

Releases: ShiftLeftSecurity/gaum

Updating dependencies

12 Aug 16:20
a20ecca

Choose a tag to compare

No actual code changes in this release.

Add Close to the connection.DB interface

17 Oct 19:04
8ce8fc2

Choose a tag to compare

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

05 Jan 16:41
f239b5c

Choose a tag to compare

v2.1.7

Merge pull request #64 from ShiftLeftSecurity/allow-returning-for-ins…

include complex function with static arguments

17 Jan 12:40
1524f8a

Choose a tag to compare

Bring back GoTestingLogger

30 Jun 10:31
35a2541

Choose a tag to compare

Now without typo

Fix all imports inside 2.x.x

28 Jun 14:50
873f46e

Choose a tag to compare

Merge pull request #55 from ShiftLeftSecurity/chipaca/v2-is-v2

update all the imports to also be v2

Update go.mod

28 Jun 12:31
2c54167

Choose a tag to compare

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

28 Jun 11:34
9fcf4fe

Choose a tag to compare

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

07 Jun 22:52
f4f60b4

Choose a tag to compare

v1.1.1

Merge pull request #52 from ShiftLeftSecurity/preetam/support-placeho…

Add new `SetSQLNoParens` method.

01 Jun 16:23
e63d7d8

Choose a tag to compare

Merge pull request #50 from ShiftLeftSecurity/olof/fix/more-variants

Add variant to set SQL on updates without parens.