Clarification on xFilter callback sqlite3changeset_apply
(1) By Bart Louwers (bartlouwers) on 2025-02-03 16:27:00 [source]
Is the xFilter callback called while applying changes or once for every table in the changeset?
The reason I am asking is because we would like to abort applying the changeset if one of the filter invocations throws. In case the xFilter callback is called while applying changes that does not seem to be possible.
Context: https://github.com/nodejs/node/pull/56903#issuecomment-2631455423
(2) By Gunter Hick (gunter_hick) on 2025-02-04 06:58:29 in reply to 1 [link] [source]
I am not aware that changesets support virtual tables. See https://sqlite.org/sessionintro.html "1.3. Limitations ... There is no support for virtual tables. Changes to virtual tables are not captured."
(3) By Bart Louwers (bartlouwers) on 2025-02-04 17:23:05 in reply to 2 [link] [source]
My question does not relate to virtual tables.