mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-25 00:57:45 +00:00
7cfb0e715a
* fix(setup): add filter_offset to `projections.current_states` * fix(eventstore): allow offset in query * fix(handler): offset for already processed events (cherry picked from commit e3d1ca4d586f615854c05184c32314fbe67e128e)
13 lines
220 B
SQL
13 lines
220 B
SQL
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; |