Skip to content

Releases: piotrkowalczuk/pqt

Version 0.28.0

16 Jan 15:00
Compare
Choose a tag to compare

This release adds support for go modules.

Version 0.26.0

06 Sep 16:07
94ef6b9
Compare
Choose a tag to compare

Transactions support

Version 0.25.1

18 Jul 13:50
Compare
Choose a tag to compare

DATE type support.

Version 0.24.0

18 Jul 13:50
775669c
Compare
Choose a tag to compare

Formatter moved into public packagepqtfmt.

Version 0.21.0

25 Sep 10:08
Compare
Choose a tag to compare

Changes

  • Ability to join <table-name>Criteria using logical operators
  • <table-name>Or and <table-name>And utility functions

Version 0.20.0

19 Jul 13:08
Compare
Choose a tag to compare

Fixes

  • Find expression sorting map replaced by array of RowOrders to keep order of columns stable

Version 0.19.0

10 Jul 08:10
Compare
Choose a tag to compare

Fixes

  • Foreign key SQL code generates properly.

Changes

  • pqt.WithForeignKey understands properly what are primaryColumns and referenceColumns arguments. In most cases usage of this function should be changed. Arguments should be switched with each other.
  • Proper usage of pqt.Constraint across packages. In many places Columns were replaced by PrimaryColumns etc.

Version 0.17.0

25 May 12:32
Compare
Choose a tag to compare

Changes

  • Constraint properties renamed to reflect better what they represents
  • WithOwnerForeignKey and WithInversedForeignKey supports only many 2 many relationship
  • Iterator interface rollback, new Rows interface

Version 0.16.0

23 May 09:30
Compare
Choose a tag to compare

Changes

  • FindIter returns now <entity-name>Iterator interface instead of struct. Previous struct is replaced by <entity-name>Rows.

Version 0.15.0

22 May 19:19
Compare
Choose a tag to compare

Improvements

  • index support
  • LogFunc
  • ForeignKey function signature simplification
  • increased code coverage

Removed

  • github.com/go-kit/kit/log dependency removed
  • pqtgo.TypeMapOfStrings
  • pqt.WithType