mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 05:23:09 +00:00
100 lines
2.1 KiB
JSON
100 lines
2.1 KiB
JSON
|
|
{
|
||
|
|
"db_name": "PostgreSQL",
|
||
|
|
"query": "INSERT INTO delegations (delegator_id, delegate_id, scope, community_id, topic_id, proposal_id)\n VALUES ($1, $2, $3::delegation_scope, $4, $5, $6)\n RETURNING id, delegator_id, delegate_id, scope as \"scope: DelegationScope\", \n community_id, topic_id, proposal_id, is_active, created_at",
|
||
|
|
"describe": {
|
||
|
|
"columns": [
|
||
|
|
{
|
||
|
|
"ordinal": 0,
|
||
|
|
"name": "id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 1,
|
||
|
|
"name": "delegator_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 2,
|
||
|
|
"name": "delegate_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 3,
|
||
|
|
"name": "scope: DelegationScope",
|
||
|
|
"type_info": {
|
||
|
|
"Custom": {
|
||
|
|
"name": "delegation_scope",
|
||
|
|
"kind": {
|
||
|
|
"Enum": [
|
||
|
|
"global",
|
||
|
|
"community",
|
||
|
|
"topic",
|
||
|
|
"proposal"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 4,
|
||
|
|
"name": "community_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 5,
|
||
|
|
"name": "topic_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 6,
|
||
|
|
"name": "proposal_id",
|
||
|
|
"type_info": "Uuid"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 7,
|
||
|
|
"name": "is_active",
|
||
|
|
"type_info": "Bool"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 8,
|
||
|
|
"name": "created_at",
|
||
|
|
"type_info": "Timestamptz"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"parameters": {
|
||
|
|
"Left": [
|
||
|
|
"Uuid",
|
||
|
|
"Uuid",
|
||
|
|
{
|
||
|
|
"Custom": {
|
||
|
|
"name": "delegation_scope",
|
||
|
|
"kind": {
|
||
|
|
"Enum": [
|
||
|
|
"global",
|
||
|
|
"community",
|
||
|
|
"topic",
|
||
|
|
"proposal"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"Uuid",
|
||
|
|
"Uuid",
|
||
|
|
"Uuid"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"nullable": [
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
true,
|
||
|
|
true,
|
||
|
|
true,
|
||
|
|
false,
|
||
|
|
false
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"hash": "7b06af69ee03943c64083e5bc94cb6dbd6f5017ad44546dff7582c31345edc51"
|
||
|
|
}
|