Simon Bruder
00d7647187
While diesel has a native rust interface, writing more complex queries is easier when you can just pass a SQL query string.
23 lines
430 B
JSON
23 lines
430 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT unnest(parents) as \"parents!\" FROM item_tree WHERE id = $1",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "parents!",
|
|
"type_info": "Uuid"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid"
|
|
]
|
|
},
|
|
"nullable": [
|
|
null
|
|
]
|
|
},
|
|
"hash": "97d6a7ee24e75dc5a9dc41a581e1013767fe36575c28574733c5ab5cbf557fb5"
|
|
}
|