2024-07-11 17:25:01 +02:00
|
|
|
{
|
|
|
|
"db_name": "PostgreSQL",
|
|
|
|
"query": "SELECT * FROM items WHERE id = ANY (SELECT unnest(parents) FROM item_tree WHERE id = $1)",
|
|
|
|
"describe": {
|
|
|
|
"columns": [
|
|
|
|
{
|
|
|
|
"ordinal": 0,
|
|
|
|
"name": "id",
|
|
|
|
"type_info": "Uuid"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"ordinal": 1,
|
|
|
|
"name": "name",
|
|
|
|
"type_info": "Varchar"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"ordinal": 2,
|
|
|
|
"name": "parent",
|
|
|
|
"type_info": "Uuid"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"ordinal": 3,
|
|
|
|
"name": "class",
|
|
|
|
"type_info": "Uuid"
|
2024-07-11 21:50:03 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"ordinal": 4,
|
|
|
|
"name": "created_at",
|
|
|
|
"type_info": "Timestamptz"
|
2024-07-12 00:50:32 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"ordinal": 5,
|
|
|
|
"name": "short_id",
|
|
|
|
"type_info": "Int4"
|
2024-07-11 17:25:01 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": {
|
|
|
|
"Left": [
|
|
|
|
"Uuid"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"nullable": [
|
|
|
|
false,
|
|
|
|
true,
|
|
|
|
true,
|
2024-07-11 21:50:03 +02:00
|
|
|
false,
|
2024-07-12 00:50:32 +02:00
|
|
|
false,
|
2024-07-11 17:25:01 +02:00
|
|
|
false
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"hash": "e45160a73a18d870f592989349057d6852d2d3f63dc055442125a6a92950729d"
|
|
|
|
}
|