{ "db_name": "PostgreSQL", "query": "SELECT COALESCE(GREATEST(0, LEAST(SUM(file_size_bytes), 9223372036854775807))::BIGINT, 0) AS \"total!\" FROM versions WHERE item_id = $1 AND file_size_bytes IS NOT NULL", "describe": { "columns": [ { "ordinal": 0, "name": "total!", "type_info": "Int8" } ], "parameters": { "Left": [ "Uuid" ] }, "nullable": [ null ] }, "hash": "370447656ea852b6e6809b09dee981278988a972682902d257eedd6969257966" }