mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-16 12:58:00 +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 e3d1ca4d58
)
13 lines
227 B
SQL
13 lines
227 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 NOWAIT; |