Skip to content

Releases: arthurkushman/buildsqlx

#54: Add RenameIndex method + tests

21 Apr 19:00
6745db8
Compare
Choose a tag to compare
v1.0.6

#54: Add RenameIndex method + tests (#109)

Fix shadowing by renaming constants in builder.go

18 Apr 16:49
2a634ec
Compare
Choose a tag to compare
v1.0.5

#107: Fix shadowing by renaming constants in builder.go (#108)

Change Pluck/PluckMap to return slice/map of structs

21 Oct 07:23
a857954
Compare
Choose a tag to compare
* #104:  Change Pluck/PluckMap to return slice/map of structs (#105)

Add common abstract method with EachToStruct processing data
Add more tests to cover errs

- Remove outdated Get method

#102: Change Chunk method to accept struct and returning slice of those structs

16 Oct 10:16
c257705
Compare
Choose a tag to compare

#102: Change Chunk method to accept struct and returning slice of those structs
Add common abstract method with EachToStruct processing data
Add more tests to cover errs

#100: Change First/Value/Find to accept structs

10 Oct 09:48
52d5874
Compare
Choose a tag to compare
  • Change First/Value/Find to accept structs
  • Fix column name misspelling if in upper-case (ID, URL etc)

#98: Change `InsertBatch` to accept slice of structs

09 Oct 16:17
856f050
Compare
Choose a tag to compare
#98: Change `InsertBatch` to accept slice of structs (#99)

#98: Change `InsertBatch` to accept slice of structs

Add ScanStruct and EachToStruct/Next to parse SQL-query results into custom structs

30 Sep 06:39
c24cf22
Compare
Choose a tag to compare
  • Add ScanStruct and EachToStruct/Next to parse SQL-query results
  • Change Insert/Update to accept structs with data

Fix transaction dependant behaviour

15 Jul 11:41
d2df7b8
Compare
Choose a tag to compare
#84: Fix transaction dependant behaviour (#95)

* #84: Fix transaction dependant behaviour

* #84: Add r.Txn object cleaning after txn commit + err report on Tx == nil

#91: Change interface{} to any, version 1.17 -> 1.18 + test for TestNewConnectionFromDB

06 Apr 08:46
9cc5f10
Compare
Choose a tag to compare
#91: Change interface{} to any, version 1.17 -> 1.18 + test for TestN…

…ewConnectionFromDB (#92)

* #91: Change interface{} to any, version 1.17 -> 1.18 + test for TestNewConnectionFromDB

* #91: Change go version to 1.18 in github Actions

Add NewConnectionFromDb constructor to pass *sql.DB handle

04 Mar 16:05
191a8df
Compare
Choose a tag to compare
v0.8.7

#87: Add NewConnectionFromDb constructor to pass *sql.DB handle (#90)