github simolus3/drift drift-2.18.0
Drift 2.18.0

latest releases: drift-2.24.0, drift_dev-2.24.0, sqlparser-0.41.0...
16 months ago

Manager APIs

The biggest new feature in this release is the addition of manager APIs, which make it much easier to write common simple queries. The new API has been designed to be easier to use and to avoid boilerplate for common CRUD queries. This feature requires additional code to be generated - if you prefer using the existing APIs exclusively, you can use the generate_manager: false builder option.

Other additions

  • Drift now supports geopoly tables and queries in .drift files if the extension is enabled.
  • Add AggregateFunctionExpression to write custom aggregate function invocations in the Dart query builder.
  • The json_group_array and jsonb_group_array functions now contain an orderBy and filter parameter.

Fixes

  • Improve finding the correct import alias in generated code for part files.

Don't miss a new drift release

NewReleases is sending notifications on new releases.