Skip to content
Snippets Groups Projects
Commit 8a7825f5 authored by Adam Štěpánek's avatar Adam Štěpánek
Browse files

Add a wip query

parent 16975691
No related branches found
No related tags found
1 merge request!23Replace Capabilities with Permissions
......@@ -192,7 +192,7 @@ $$ LANGUAGE plpgsql;
-- FROM mt_doc_artifactinfo
-- WHERE kafe_get_artifact_perms(data ->> 'Id', 'kI1xT3L-tkD') != 0;
SELECT data ->> 'Id' as id, perms.v
SELECT data ->> 'Id' as id, data -> 'Name' ->> 'iv' as name, perms.v
FROM mt_doc_artifactinfo, LATERAL (SELECT kafe_get_artifact_perms(data ->> 'Id', 'kI1xT3L-tkD') as v) as perms
WHERE perms.v != 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment