mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-09 21:13:09 +00:00
53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
|
|
{
|
||
|
|
"db_name": "PostgreSQL",
|
||
|
|
"query": "INSERT INTO delegate_profiles (user_id)\n VALUES ($1)\n ON CONFLICT (user_id) DO UPDATE SET user_id = $1\n RETURNING display_name, bio, accepting_delegations, delegation_policy, \n total_delegators, total_votes_cast",
|
||
|
|
"describe": {
|
||
|
|
"columns": [
|
||
|
|
{
|
||
|
|
"ordinal": 0,
|
||
|
|
"name": "display_name",
|
||
|
|
"type_info": "Varchar"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 1,
|
||
|
|
"name": "bio",
|
||
|
|
"type_info": "Text"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 2,
|
||
|
|
"name": "accepting_delegations",
|
||
|
|
"type_info": "Bool"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 3,
|
||
|
|
"name": "delegation_policy",
|
||
|
|
"type_info": "Text"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 4,
|
||
|
|
"name": "total_delegators",
|
||
|
|
"type_info": "Int4"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 5,
|
||
|
|
"name": "total_votes_cast",
|
||
|
|
"type_info": "Int4"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"parameters": {
|
||
|
|
"Left": [
|
||
|
|
"Uuid"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"nullable": [
|
||
|
|
true,
|
||
|
|
true,
|
||
|
|
false,
|
||
|
|
true,
|
||
|
|
false,
|
||
|
|
false
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"hash": "5b3990eadd408f017c3f97f9eec54ebf9d4b17e8f52b7be7e8d4f7a4d4303045"
|
||
|
|
}
|