61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
|
{
|
||
|
"db_name": "PostgreSQL",
|
||
|
"query": "SELECT id, date, event AS \"event: ItemEvent\", description FROM item_events WHERE item = $1",
|
||
|
"describe": {
|
||
|
"columns": [
|
||
|
{
|
||
|
"ordinal": 0,
|
||
|
"name": "id",
|
||
|
"type_info": "Int4"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 1,
|
||
|
"name": "date",
|
||
|
"type_info": "Date"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 2,
|
||
|
"name": "event: ItemEvent",
|
||
|
"type_info": {
|
||
|
"Custom": {
|
||
|
"name": "item_event",
|
||
|
"kind": {
|
||
|
"Enum": [
|
||
|
"acquire",
|
||
|
"borrow",
|
||
|
"buy",
|
||
|
"dispose",
|
||
|
"gift",
|
||
|
"loan",
|
||
|
"lose",
|
||
|
"recieve_gift",
|
||
|
"return_borrowed",
|
||
|
"return_loaned",
|
||
|
"sell",
|
||
|
"use"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 3,
|
||
|
"name": "description",
|
||
|
"type_info": "Varchar"
|
||
|
}
|
||
|
],
|
||
|
"parameters": {
|
||
|
"Left": [
|
||
|
"Uuid"
|
||
|
]
|
||
|
},
|
||
|
"nullable": [
|
||
|
false,
|
||
|
false,
|
||
|
false,
|
||
|
false
|
||
|
]
|
||
|
},
|
||
|
"hash": "f700f5e4657cfb3d572e9f11c23d408c8f31c8d75737398429e256a167c91d68"
|
||
|
}
|