Skip to main content

get_projection_cursor

Function get_projection_cursor 

Source
pub fn get_projection_cursor(conn: &Connection) -> Result<(i64, Option<String>)>
Expand description

Get the projection cursor metadata (last replay offset and hash).

Returns (last_event_offset, last_event_hash).

ยงErrors

Returns an error if the query fails or no projection_meta row exists.