{ "db_name": "PostgreSQL", "query": "\n SELECT\n EXISTS(\n SELECT 1 FROM delphi_issue_details_with_statuses didws\n WHERE didws.project_id = $1 AND didws.status = 'pending'\n ) AS \"pending_issue_details_exist!\",\n t.id AS \"thread_id: DBThreadId\"\n FROM mods m\n INNER JOIN threads t ON t.mod_id = $1\n ", "describe": { "columns": [ { "ordinal": 0, "name": "pending_issue_details_exist!", "type_info": "Bool" }, { "ordinal": 1, "name": "thread_id: DBThreadId", "type_info": "Int8" } ], "parameters": { "Left": [ "Int8" ] }, "nullable": [ null, false ] }, "hash": "2d9e36c76a1e214c53d9dc2aa3debe1d03998be169a306b63a0ca1beaa07397f" }