Skip to content

Releases: ShiftLeftSecurity/gaum

Add Close to the connection.DB interface

17 Oct 19:04
8ce8fc2
Compare
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
Compare
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
Compare
Choose a tag to compare

Bring back GoTestingLogger

30 Jun 10:31
35a2541
Compare
Choose a tag to compare

Now without typo

Fix all imports inside 2.x.x

28 Jun 14:50
873f46e
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
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.

11 May 11:32
134c0ee
Compare
Choose a tag to compare

Following #49 there are some incompatible interface changes requiring a large bump, therefore the version 2 seems justified.