Skip to content

Release 2.3.0

Compare
Choose a tag to compare
@mmatczuk mmatczuk released this 08 Dec 08:16
· 66 commits to master since this release

This release:

  • Adds dbutil packages that will contain auxiliary tools built on top of gocqlx and its sub packages
  • Adds dbutil.RewriteTable a generalization of table.RewriteRows that can clone a table and apply a data transformation for each row
  • Adds migrate.CallbackRegister to simplify usage of migration callback
  • Adds support for in CQL file callbacks with a CQL comment -- CALL MyCallbackName;
INSERT INTO bar (id) VALUES (1);

-- CALL MyCallbackName;

INSERT INTO bar (id) VALUES (2);

See the complete example in migrate/example dir.