Skip to main content

anaki_sqlite 0.1.6 copy "anaki_sqlite: ^0.1.6" to clipboard
anaki_sqlite: ^0.1.6 copied to clipboard

SQLite driver for AnakiORM. Native connector via Rust FFI.

Changelog #

0.1.6 #

  • Fix @name parameter rewriting inside SQL text: the rewriter used to replace any @word anywhere in the statement, so INSERT ... VALUES ('thalya@gmail.com') stored thalya$1.com and LIKE '%@gmail.com' matched nothing. It is now a minimal lexer that only rewrites placeholders OUTSIDE string literals (incl. '' escapes), quoted identifiers ("...", [...], `...`) and comments (--, /* */). @@name system variables/operators are left intact

0.1.5 #

  • Build hook no longer throws on unsupported targets (Android, iOS, other archs): it registers no native asset and returns, so a desktop app that depends on this package can also build for mobile. The FFI must simply not be called there (mobile clients run queries through a host)

0.1.4 #

  • Fix native symbol collision when multiple anaki drivers are loaded in the same process: the driver now binds its FFI symbols from its own library handle first, falling back to the native-assets runtime for bundled builds

0.1.3 #

  • Fix universal (arm64+x64) macOS builds: the build hook now copies the binary into the per-config output directory, so each architecture slice gets its own file (previously both slices pointed at the same dylib and lipo failed with duplicate architectures)

0.1.2 #

  • Fix pub.dev packaging: native binaries are now really inside the published archive (0.1.1 tarballs were missing native_libs/ because a repo-root gitignore rule excluded them from dart pub publish)

0.1.1 #

  • FFI exports are panic-safe: internal panics become error responses instead of aborting the host process (#2)
  • Query rows keep the SELECT column order instead of returning alphabetically sorted keys (#5)
  • Native library loads via the native-assets asset id (works with flutter build framework bundling), with filesystem search as fallback (#6)
  • Prebuilt native binaries included for all supported platforms (#4)
  • New build target: Linux ARM64 (aarch64)

0.1.0 #

  • Initial release
  • Core AnakiDb class with SQL-first API
  • AnakiQueryBuilder for fluent queries
  • Migrator and Seeder for database migrations
  • Support for SQLite, PostgreSQL, MySQL, and SQL Server
  • Cross-platform native libraries (macOS, Linux, Windows)
0
likes
150
points
754
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

SQLite driver for AnakiORM. Native connector via Rust FFI.

Homepage

License

MIT (license)

Dependencies

anaki_orm, code_assets, ffi, hooks

More

Packages that depend on anaki_sqlite