generated from phundrak/rust-poem-openapi-template
64 lines
1.2 KiB
JSON
64 lines
1.2 KiB
JSON
|
{
|
||
|
"db_name": "PostgreSQL",
|
||
|
"query": "\nUPDATE users\nSET username = $1, email = $2, avatar = $3, name = $4, last_updated = $5\nWHERE id = $6\nRETURNING *\n",
|
||
|
"describe": {
|
||
|
"columns": [
|
||
|
{
|
||
|
"ordinal": 0,
|
||
|
"name": "id",
|
||
|
"type_info": "Varchar"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 1,
|
||
|
"name": "username",
|
||
|
"type_info": "Varchar"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 2,
|
||
|
"name": "email",
|
||
|
"type_info": "Varchar"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 3,
|
||
|
"name": "avatar",
|
||
|
"type_info": "Varchar"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 4,
|
||
|
"name": "name",
|
||
|
"type_info": "Varchar"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 5,
|
||
|
"name": "created_at",
|
||
|
"type_info": "Timestamptz"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 6,
|
||
|
"name": "last_updated",
|
||
|
"type_info": "Timestamptz"
|
||
|
}
|
||
|
],
|
||
|
"parameters": {
|
||
|
"Left": [
|
||
|
"Varchar",
|
||
|
"Varchar",
|
||
|
"Varchar",
|
||
|
"Varchar",
|
||
|
"Timestamptz",
|
||
|
"Text"
|
||
|
]
|
||
|
},
|
||
|
"nullable": [
|
||
|
false,
|
||
|
false,
|
||
|
true,
|
||
|
true,
|
||
|
true,
|
||
|
false,
|
||
|
false
|
||
|
]
|
||
|
},
|
||
|
"hash": "c36467a81bad236a0c1a8d3fc1b5f8efda9b9cf9eaab140c10246218f0240600"
|
||
|
}
|