sqlite_records 0.3.0 copy "sqlite_records: ^0.3.0" to clipboard
sqlite_records: ^0.3.0 copied to clipboard

A minimal, functional wrapper for SQLite/PowerSync using Dart 3 records.

0.3.0 #

  • Added support for map literal parameters in Query and Command to simplify inline definitions.
  • Renamed .empty factory to .static in Query and Command to better describe static SQL usage.
  • Refined README and documentation with more examples for patching and dynamic commands.

0.2.0 #

  • Added UpdateCommand for dynamic "patch" updates that skip null parameters.
  • Added InsertCommand for dynamic inserts that only include non-null parameters.
  • Added SQL wrapper to distinguish between skipping a field and explicitly setting it to NULL.
  • Optimized executeBatch to support dynamic SQL generation.
  • Improved documentation with llms.txt and more comprehensive README examples.
  • Refactored Query constructor to ensure consistency (schema now follows params).

0.1.0 #

  • Initial release.
  • Type-safe parameters using Dart 3 records.
  • Schema-aware results with SafeRow and SafeResultSet.
  • Reactive query support with watch.
  • Read-only and read-write transaction support.
  • Convenient parsing for enums and DateTime.
1
likes
120
points
165
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A minimal, functional wrapper for SQLite/PowerSync using Dart 3 records.

License

MIT (license)

Dependencies

powersync, sqlite3, sqlite_async

More

Packages that depend on sqlite_records