Releases: piotrkowalczuk/pqt
Releases · piotrkowalczuk/pqt
Version 0.28.0
This release adds support for go modules.
Version 0.26.0
Transactions support
Version 0.25.1
DATE
type support.
Version 0.24.0
Formatter moved into public packagepqtfmt
.
Version 0.21.0
Changes
- Ability to join
<table-name>Criteria
using logical operators <table-name>Or
and<table-name>And
utility functions
Version 0.20.0
Fixes
- Find expression sorting map replaced by array of
RowOrder
s to keep order of columns stable
Version 0.19.0
Fixes
- Foreign key SQL code generates properly.
Changes
pqt.WithForeignKey
understands properly what areprimaryColumns
andreferenceColumns
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 placesColumns
were replaced byPrimaryColumns
etc.
Version 0.17.0
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
Changes
FindIter
returns now<entity-name>Iterator
interface instead of struct. Previous struct is replaced by<entity-name>Rows
.
Version 0.15.0
Improvements
- index support
LogFunc
ForeignKey
function signature simplification- increased code coverage
Removed
github.com/go-kit/kit/log
dependency removedpqtgo.TypeMapOfStrings
pqt.WithType