mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-25 01:39:53 +00:00
11 lines
337 B
MySQL
11 lines
337 B
MySQL
|
|
SELECT instance_id,
|
||
|
|
execution_id,
|
||
|
|
JSONB_AGG(
|
||
|
|
JSON_OBJECT(
|
||
|
|
'position' : position,
|
||
|
|
'include' : include,
|
||
|
|
'target' : target_id
|
||
|
|
)
|
||
|
|
) as targets
|
||
|
|
FROM projections.executions1_targets
|
||
|
|
GROUP BY instance_id, execution_id
|