40 lines
911 B
JSON
40 lines
911 B
JSON
|
{
|
||
|
"db_name": "PostgreSQL",
|
||
|
"query": "SELECT\n username,\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": "username",
|
||
|
"type_info": "Varchar"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 1,
|
||
|
"name": "permission_type: PermissionRaw",
|
||
|
"type_info": {
|
||
|
"Custom": {
|
||
|
"name": "permission",
|
||
|
"kind": {
|
||
|
"Enum": [
|
||
|
"read",
|
||
|
"write",
|
||
|
"manage"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"parameters": {
|
||
|
"Left": [
|
||
|
"Uuid"
|
||
|
]
|
||
|
},
|
||
|
"nullable": [
|
||
|
false,
|
||
|
false
|
||
|
]
|
||
|
},
|
||
|
"hash": "39b78c7f3266bea5e3e44aa372574319cb74dea6b3d0bc16d25e29ca28803317"
|
||
|
}
|