Skip to content

Drift 2.12.0

Compare
Choose a tag to compare
@simolus3 simolus3 released this 24 Sep 18:46
· 812 commits to develop since this release
drift-2.12.0
8d05c9e

This drift release adds support for defining a database index in Dart and improves JSON support.

Full list of changes:

  • Add support for table-valued functions in the Dart query builder.
  • Support the json_each and json_tree table-valued functions.
  • Add the @TableIndex annotation for table classes to add an index to the table.
  • Add the TypeConverter.json method to define type converters storing JSON values more easily.
  • Add TypedResult.readWithConverter to read a column with a type converter from a join result row.