Skip to main content

try_open_projection_raw

Function try_open_projection_raw 

Source
pub fn try_open_projection_raw(path: &Path) -> Result<Option<Connection>>
Expand description

Open the projection without triggering an auto-rebuild.

Used internally by ensure_projection to avoid infinite recursion, and as a fallback when the events directory is not discoverable from the db path.

ยงErrors

Returns an error if the database exists but cannot be opened or fails an integrity check.