likwid/backend/.sqlx/query-155f20f35f5b4df59e1a53d0aa30f2994b0a6f76fcd1ff443a6bbe13e3d41339.json
Marco Allegretti 910a6465f2 Initial commit: Likwid governance platform
- Backend: Rust/Axum with PostgreSQL, plugin architecture
- Frontend: Astro with polished UI
- Voting methods: Approval, Ranked Choice, Schulze, STAR, Quadratic
- Features: Liquid delegation, transparent moderation, structured deliberation
- Documentation: User and admin guides in /docs
- Deployment: Docker/Podman compose files for production and demo
- Demo: Seeded data with 3 communities, 13 users, 7 proposals

License: AGPLv3
2026-01-27 17:21:58 +01:00

46 lines
1.2 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT \n COUNT(*) FILTER (WHERE reaction_type = 'agree') as agree,\n COUNT(*) FILTER (WHERE reaction_type = 'disagree') as disagree,\n COUNT(*) FILTER (WHERE reaction_type = 'insightful') as insightful,\n COUNT(*) FILTER (WHERE reaction_type = 'off_topic') as off_topic,\n COUNT(*) FILTER (WHERE reaction_type = 'constructive') as constructive\n FROM comment_reactions\n WHERE comment_id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "agree",
"type_info": "Int8"
},
{
"ordinal": 1,
"name": "disagree",
"type_info": "Int8"
},
{
"ordinal": 2,
"name": "insightful",
"type_info": "Int8"
},
{
"ordinal": 3,
"name": "off_topic",
"type_info": "Int8"
},
{
"ordinal": 4,
"name": "constructive",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
null,
null,
null,
null,
null
]
},
"hash": "155f20f35f5b4df59e1a53d0aa30f2994b0a6f76fcd1ff443a6bbe13e3d41339"
}