mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-16 04:48:04 +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
|