zitadel/internal/eventstore/handler/v2/state_get.sql

13 lines
227 B
MySQL
Raw Normal View History

SELECT
aggregate_id
, aggregate_type
, "sequence"
, event_date
, "position"
, filter_offset
FROM
projections.current_states
WHERE
instance_id = $1
AND projection_name = $2
FOR UPDATE NOWAIT;