generated from phundrak/rust-poem-openapi-template
65 lines
1.3 KiB
JSON
65 lines
1.3 KiB
JSON
|
{
|
||
|
"db_name": "PostgreSQL",
|
||
|
"query": "\nINSERT INTO users (id, username, email, avatar, name, created_at, last_updated)\nVALUES ($1, $2, $3, $4, $5, $6, $7)\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",
|
||
|
"Varchar",
|
||
|
"Timestamptz",
|
||
|
"Timestamptz"
|
||
|
]
|
||
|
},
|
||
|
"nullable": [
|
||
|
false,
|
||
|
false,
|
||
|
true,
|
||
|
true,
|
||
|
true,
|
||
|
false,
|
||
|
false
|
||
|
]
|
||
|
},
|
||
|
"hash": "24bbd63a324e36f4a0c559c44909621cc21b493b4c9ae4c14e30c99a6d8072bd"
|
||
|
}
|