40 lines
912 B
JSON
40 lines
912 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT\n users.user_id,\n permission_type as \"permission_type: PermissionRaw\"\nFROM\n permissions\n INNER JOIN users ON permissions.user_id = users.user_id\nWHERE\n folder_id = $1",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "user_id",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "permission_type: PermissionRaw",
|
|
"type_info": {
|
|
"Custom": {
|
|
"name": "permission",
|
|
"kind": {
|
|
"Enum": [
|
|
"read",
|
|
"write",
|
|
"manage"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "003349bc951a935fdfb285f99a726c221e3d1d02cb9e47b4c385545298b27217"
|
|
}
|