Skip to main content

Module host

Module host 

Source
Expand description

Host callback surface.

Some plugin-host engines (meta-plugin persistence, the background-job scheduler) need to run write-mode Cypher against the live database. Rather than reach back into the uni-db Uni internals (which would invert the crate dependency), they hold an HostCypherExecutor trait object that the uni-db API crate implements over its UniInner (open Session โ†’ tx() โ†’ execute() โ†’ commit()).

Traitsยง

HostCypherExecutor
Host-provided write-mode Cypher executor.