github simolus3/drift drift-1.6.0
Drift 1.6.0

latest releases: drift-2.24.0, drift_dev-2.24.0, sqlparser-0.41.0...
3 years ago
  • Add the unique() method to columns and the uniqueKeys override to define unique constraints in Dart tables.
  • Add the check() method to the Dart column builder to generate CHECK column constraints.
  • Also apply type converters for json serialization and deserialization if they mix in JsonTypeConverter.
  • Add the very experimental package:drift/wasm.dart library. It uses WebAssembly to access sqlite3 without any external JavaScript libraries, but requires you to add a WebAssembly module to the web/ folder.
    Please note that this specific library is not subject to semantic versioning until it leaves its experimental state. It also isn't suitable for production use at the moment.
  • Internally use package:js to wrap sql.js.

Don't miss a new drift release

NewReleases is sending notifications on new releases.