21 lines
626 B
JSON
21 lines
626 B
JSON
|
|
{
|
||
|
|
"db_name": "SQLite",
|
||
|
|
"query": "\n SELECT COALESCE(MAX(i_item.weight), 0) as weight\n FROM inventory_items_categories as category\n INNER JOIN inventory_items as i_item\n ON i_item.category_id = category.id\n WHERE category_id = ?\n ",
|
||
|
|
"describe": {
|
||
|
|
"columns": [
|
||
|
|
{
|
||
|
|
"name": "weight",
|
||
|
|
"ordinal": 0,
|
||
|
|
"type_info": "Int"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"parameters": {
|
||
|
|
"Right": 1
|
||
|
|
},
|
||
|
|
"nullable": [
|
||
|
|
false
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"hash": "5fd2b986fcaafe93e816f9ed665b6319d120a3987dc5adca1e3c8634203f7533"
|
||
|
|
}
|