We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I guess this request won't work with PGSQL database:
SELECT perm.name, role_link.parentfield AS field, CONCAT("[",GROUP_CONCAT('"', role_link.role_name, '"'),"]") AS val FROM "tabWorkspace Perms" perm INNER JOIN "tabRole Link" role_link ON perm.name = role_link.parent GROUP BY perm.name, role_link.parentfield
Do you know how to convert it to pgsql ?
Regards
The text was updated successfully, but these errors were encountered:
I think I found a solution:
SELECT perm.name, role_link.parentfield AS field, CONCAT('[',STRING_AGG(CONCAT('"',role_link.role_name, '"'), ','),']') AS val FROM "tabWorkspace Perms" perm INNER JOIN "tabRole Link" role_link ON perm.name = role_link.parent GROUP BY perm.name, role_link.parentfield
Sorry, something went wrong.
No branches or pull requests
I guess this request won't work with PGSQL database:
Do you know how to convert it to pgsql ?
Regards
The text was updated successfully, but these errors were encountered: