stream-version-is-event-count

Status: IN

`stream_version()` returns the count of events in a stream (not the latest `event_id`), and `expected_version` checks against this count for optimistic concurrency

Source: entries/2026/05/29/event-sourcing-store-event_store.md

JSON