likwid/backend/.sqlx/query-768935f0dff24d092ebaff3512026b9e6a0344c9d10ee0cf852d299c80bba6c8.json

15 lines
558 B
JSON
Raw Normal View History

{
"db_name": "PostgreSQL",
"query": "UPDATE proposal_amendments SET\n support_count = (SELECT COUNT(*) FROM amendment_support WHERE amendment_id = $1 AND support_type = 'support'),\n oppose_count = (SELECT COUNT(*) FROM amendment_support WHERE amendment_id = $1 AND support_type = 'oppose')\n WHERE id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": []
},
"hash": "768935f0dff24d092ebaff3512026b9e6a0344c9d10ee0cf852d299c80bba6c8"
}