2024-07-11 17:25:01 +02:00
{
"db_name" : "PostgreSQL" ,
2024-07-21 23:43:53 +02:00
"query" : "SELECT\n class.id,\n class.name,\n class.description,\n class.parent,\n parent.name AS \"parent_name?\"\n FROM item_classes AS \"class\"\n LEFT JOIN item_classes AS \"parent\"\n ON class.parent = parent.id\n WHERE class.id = $1" ,
2024-07-11 17:25:01 +02:00
"describe" : {
"columns" : [
{
"ordinal" : 0 ,
"name" : "id" ,
"type_info" : "Uuid"
} ,
{
"ordinal" : 1 ,
"name" : "name" ,
"type_info" : "Varchar"
} ,
{
"ordinal" : 2 ,
2024-07-21 23:43:53 +02:00
"name" : "description" ,
"type_info" : "Varchar"
2024-07-11 21:50:03 +02:00
} ,
{
"ordinal" : 3 ,
2024-07-21 23:43:53 +02:00
"name" : "parent" ,
"type_info" : "Uuid"
2024-07-14 15:17:04 +02:00
} ,
{
"ordinal" : 4 ,
2024-07-21 23:43:53 +02:00
"name" : "parent_name?" ,
2024-07-14 15:17:04 +02:00
"type_info" : "Varchar"
2024-07-11 17:25:01 +02:00
}
] ,
"parameters" : {
"Left" : [
"Uuid"
]
} ,
"nullable" : [
false ,
false ,
2024-07-14 15:17:04 +02:00
false ,
2024-07-21 23:43:53 +02:00
true ,
2024-07-11 21:50:03 +02:00
false
2024-07-11 17:25:01 +02:00
]
} ,
2024-07-21 23:43:53 +02:00
"hash" : "84b4620db57dd9b963e09153c3de5938b3959ae41744098c4e9565404abf09ae"
2024-07-11 17:25:01 +02:00
}