Files
packager/.sqlx/query-48c563fdbc8ca0dbe14726eda25a18780c6c416eda63b246daa75c5ff318331d.json

21 lines
820 B
JSON
Raw Permalink Normal View History

2023-08-29 21:34:00 +02:00
{
"db_name": "SQLite",
2023-08-29 21:34:00 +02:00
"query": "\n SELECT\n CAST(IFNULL(SUM(i_item.weight), 0) AS INTEGER) AS total_weight\n FROM trips AS trip\n INNER JOIN trips_items AS t_item\n ON t_item.trip_id = trip.id\n INNER JOIN inventory_items AS i_item\n ON t_item.item_id = i_item.id\n WHERE\n trip.id = ? AND trip.user_id = ?\n AND t_item.pick = true\n ",
2023-08-29 21:34:00 +02:00
"describe": {
"columns": [
{
"name": "total_weight",
"ordinal": 0,
"type_info": "Int"
}
],
"parameters": {
2023-08-29 21:34:00 +02:00
"Right": 2
2023-08-29 21:34:00 +02:00
},
"nullable": [
false
]
},
2023-08-29 21:34:00 +02:00
"hash": "48c563fdbc8ca0dbe14726eda25a18780c6c416eda63b246daa75c5ff318331d"
2023-08-29 21:34:00 +02:00
}