pub fn max_stream_id(conn: &Connection) -> Result<i64>Expand description
The last stream id issued to any table — the counter’s current value.
Since every stream-ordered table shares this one counter, this is also
the highest stream_id that exists anywhere in the database right now.