Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Latest commit

 

History

History
38 lines (26 loc) · 1.59 KB

CHANGELOG.md

File metadata and controls

38 lines (26 loc) · 1.59 KB

Changelog

  • reform tool now correctly handles non-exported types.
  • Querier.Insert now correctly INSERTs records with set non-integer primary keys, even if dialect uses LastInsertId (MySQL, SQLite3).
  • Added support for Microsoft SQL Server. Huge thanks to Aleksey Martynov.
  • Added Querier.InsertColumns.
  • Querier.Insert now correctly handles records with only primary key column.
  • reform tool now correctly ignores type information when it's not used. This allows one to have fields of any custom types. The only exception is primary key fields, which are restricted to basic types (numbers and strings).
  • Package gopkg.in/reform.v1/parse is explicitly documented as internal. (It's wasn't really possible to use it.)
  • Querier.UpdateColumns no longer allows to update primary key column. This behavior was allowed, but did not make any sense.
  • reform tool now correctly handles pointers to custom types and slices.
  • Added Querier.InsertMulti.
  • Added DBInterface, TXInterface, NewDBFromInterface, NewTXFromInterface.

v1.0.0 (2016-06-22)