tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.55k stars 252 forks source link

[C Bindings] Missing hook function #1418

Open ospfranco opened 4 months ago

ospfranco commented 4 months ago

The sqlite update/commit/rollback hooks are necessary to implement reactive queries as they notify of changes made on tables and rows.

They appear to be missing from the C headers.

haaawk commented 4 months ago

I'm not sure this is something we support at the moment. We might for local only and maybe for embedded replicas but I'm pretty sure we don't support such thing for remote only clients

ospfranco commented 4 months ago

I'm using it for reactive queries. In case you want that functionality this will need to be enabled.

penberg commented 3 months ago

We should expose the hooks to local databases, as discussed here: https://discord.com/channels/933071162680958986/1154725980183732224/1245079190684958861

ignatz commented 3 weeks ago

Is there any update? Are you open towards external contributions?