mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-06-25 07:27:42 +00:00
23 lines
646 B
JSON
23 lines
646 B
JSON
{
|
|||
"db_name": "PostgreSQL",
|
|||
"query": "SELECT r.name\n FROM user_roles ur\n JOIN roles r ON r.id = ur.role_id\n WHERE ur.user_id = $1\n ORDER BY CASE r.name\n WHEN 'platform_admin' THEN 1\n WHEN 'platform_moderator' THEN 2\n ELSE 3\n END\n LIMIT 1",
|
|||
"describe": {
|
|||
"columns": [
|
|||
{
|
|||
"ordinal": 0,
|
|||
"name": "name",
|
|||
"type_info": "Varchar"
|
|||
}
|
|||
],
|
|||
"parameters": {
|
|||
"Left": [
|
|||
"Uuid"
|
|||
]
|
|||
},
|
|||
"nullable": [
|
|||
false
|
|||
]
|
|||
},
|
|||
"hash": "cde649035ebc12f0bbce749e9a5347b8073659b42c9e65a4ac74400b17dc38f7"
|
|||
}
|