mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-09 21:13:09 +00:00
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
|
|
{
|
||
|
|
"db_name": "PostgreSQL",
|
||
|
|
"query": "INSERT INTO community_voting_methods (community_id, voting_method_id, is_enabled, is_default, config)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (community_id, voting_method_id) DO UPDATE SET\n is_enabled = COALESCE($3, community_voting_methods.is_enabled),\n is_default = COALESCE($4, community_voting_methods.is_default),\n config = COALESCE($5, community_voting_methods.config),\n updated_at = NOW()\n RETURNING id, is_enabled, is_default, config",
|
||
|
|
"describe": {
|
||
|
|
"columns": [
|
||
|
|
{
|
||
|
|
"ordinal": 0,
|
||
|
|
"name": "id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 1,
|
||
|
|
"name": "is_enabled",
|
||
|
|
"type_info": "Bool"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 2,
|
||
|
|
"name": "is_default",
|
||
|
|
"type_info": "Bool"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 3,
|
||
|
|
"name": "config",
|
||
|
|
"type_info": "Jsonb"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"parameters": {
|
||
|
|
"Left": [
|
||
|
|
"Uuid",
|
||
|
|
"Uuid",
|
||
|
|
"Bool",
|
||
|
|
"Bool",
|
||
|
|
"Jsonb"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"nullable": [
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
true
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"hash": "2a7e168921469392cdde35401ab602fdb281f995ad75050af27a4130c311a920"
|
||
|
|
}
|