Releases: doug-martin/goqu
Releases · doug-martin/goqu
v7.3.0
v7.2.0
v7.1.0
v7.0.1
v7.0.0
Linting
- Add linting checks and fixed errors
- Renamed all snake_case variables to be camelCase.
- Fixed examples to always map to a defined method
- Renamed
adapters
todialect
to more closely match their intended purpose.
API Changes
- Updated all sql generations methods to from
Sql
toSQL
ToSql
->ToSQL
ToInsertSql
->ToInsertSQL
ToUpdateSql
->ToUpdateSQL
ToDeleteSql
->ToDeleteSQL
ToTruncateSql
->ToTruncateSQL
- Abstracted out
dialect_options
from the adapter to make the dialect self contained.- This also removed the dataset<->adapter co dependency making the dialect self contained.
- Refactored the
goqu.I
method.- Added new
goqu.S
,goqu.T
andgoqu.C
methods to clarify why type of identifier you are using. goqu.I
should only be used when you have a qualified identifier (e.g. `goqu.I("my_schema.my_table.my_col")
- Added new
- Added new
goqu.Dialect
method to make usinggoqu
as an SQL builder easier.
Internal Changes
- Pulled expressions into their own package
- Broke up expressions.go into multiple files to make working with and defining them easier.
- Moved the user facing methods into the main
goqu
to keep the same API as before.
- Added more examples
- Moved non-user facing structs and interfaces to internal modules to clean up API.
- Increased test coverage.
v6.1.0
- Handle nil *time.Time Literal #73 and #52 - @RoarkeRandall and @quetz
- Add ability to change column rename function #66 - @blainehansen