Simon Bruder
f030d16d09
While diesel has a native rust interface, writing more complex queries is easier when you can just pass a SQL query string.
27 lines
508 B
JSON
27 lines
508 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT id as \"id!\", parents as \"parents!\" FROM item_tree",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id!",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "parents!",
|
|
"type_info": "UuidArray"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": []
|
|
},
|
|
"nullable": [
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
"hash": "a6f646089b4424deffc0b1a454bcfa2f2a497180e2517a937471f81a1f9c5538"
|
|
}
|