basalt_sqlite 0.1.0
basalt_sqlite: ^0.1.0 copied to clipboard
SQLite backend for the Basalt Dart ORM — a Connection + SqlDialect on package:sqlite3, plus the CLI adapter for migrations and schema generation.
Changelog #
0.1.0 #
- Requires
basalt >=0.1.0 <0.2.0— the new table-marker shape (final class X extends TableRef<X>with owner-linked columns). - Declares supported platforms explicitly (Android, iOS, Linux, macOS,
Windows): the
package:sqlite3FFI entrypoint rules out the web target, and the explicit set removes the partial web-without-WASM platform score. - No functional changes.
0.0.2 #
SqliteDialect.castType— implements the newSqlDialectseam; SQLite is dynamically typed, so it never asks for a cast (null).- Supports the core's new batch
updateAllstatement (UPDATE ... FROM, needs SQLite ≥ 3.33). - Requires
basalt >=0.0.2 <0.1.0.
0.0.1 #
Initial development release of the SQLite backend for basalt_dart.
SqliteConnection— an async-firstConnectionoverpackage:sqlite3(open/memory), running synchronously and returning completed futures.SqliteDialect— theSqlDialectimplementation (identifier quoting,?placeholders,RETURNING-free counts).- Transactions with nested
SAVEPOINTsupport and rollback on error. introspect()oversqlite_master/PRAGMAfor the CLI'sgenerate-schema.SqliteAdapter(lib/adapter.dart) — theBasaltAdapterCLI seam withopen/resetand default type-override presets.