mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 20:08:02 +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
|