{ "db_name": "PostgreSQL", "query": "INSERT INTO proposal_positions (proposal_id, user_id, position, reasoning)\n VALUES ($1, $2, $3, $4)\n ON CONFLICT (proposal_id, user_id) \n DO UPDATE SET position = $3, reasoning = $4, updated_at = NOW()\n RETURNING id, proposal_id, user_id, position, reasoning, created_at", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": "Uuid" }, { "ordinal": 1, "name": "proposal_id", "type_info": "Uuid" }, { "ordinal": 2, "name": "user_id", "type_info": "Uuid" }, { "ordinal": 3, "name": "position", "type_info": "Varchar" }, { "ordinal": 4, "name": "reasoning", "type_info": "Text" }, { "ordinal": 5, "name": "created_at", "type_info": "Timestamptz" } ], "parameters": { "Left": [ "Uuid", "Uuid", "Varchar", "Text" ] }, "nullable": [ false, false, false, false, true, false ] }, "hash": "9c3b9cd35a4c58e67a15ad0372c18b6c5fc0a969b9aec88508cea8388c2fbe55" }