likwid/backend/.sqlx/query-b5c36e2f70e6c7d5f501373d11b52254cb3c898866401e2e757071d81bfe53b0.json

107 lines
2.3 KiB
JSON
Raw Normal View History

{
"db_name": "PostgreSQL",
"query": "INSERT INTO delegations (delegator_id, delegate_id, scope, community_id, topic_id, proposal_id, weight)\n VALUES ($1, $2, $3::delegation_scope, $4, $5, $6, ($7::float8)::numeric)\n RETURNING id, delegator_id, delegate_id, scope as \"scope: DelegationScope\", \n community_id, topic_id, proposal_id, weight::float8 as \"weight!\", 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": "weight!",
"type_info": "Float8"
},
{
"ordinal": 8,
"name": "is_active",
"type_info": "Bool"
},
{
"ordinal": 9,
"name": "created_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid",
{
"Custom": {
"name": "delegation_scope",
"kind": {
"Enum": [
"global",
"community",
"topic",
"proposal"
]
}
}
},
"Uuid",
"Uuid",
"Uuid",
"Float8"
]
},
"nullable": [
false,
false,
false,
false,
true,
true,
true,
null,
false,
false
]
},
"hash": "b5c36e2f70e6c7d5f501373d11b52254cb3c898866401e2e757071d81bfe53b0"
}