Skip to content

Add full SQLite hook/observation support to SQLiteConnection #88

@dioKaratzas

Description

@dioKaratzas

Summary

Enable higher layers (e.g. Fluent) to observe low-level SQLite events—row-level changes and transaction boundaries—by exposing the native update, commit and rollback hooks plus convenient async streams.

Functionality

  • Update-hook: notify on INSERT / UPDATE / DELETE at row level
  • Commit-hook: observe (and optionally veto) transaction commits
  • Rollback-hook: observe transaction rollbacks
  • All hooks are stored thread-safely and uninstalled automatically on close(), explicit nil, or stream termination

Alternatives Considered

  • Polling table contents (inefficient)
  • Fluent-level fan-out only (requires driver support first)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions