mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-25 02:01:03 +00:00
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT \n response_status_code as \"response_status_code!\", \n response_headers as \"response_headers!: Vec<HeaderPairRecord>\",\n response_body as \"response_body!\"\n FROM idempotency\n WHERE \n user_id = $1 AND\n idempotency_key = $2\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "response_status_code!",
|
|
"type_info": "Int2"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "response_headers!: Vec<HeaderPairRecord>",
|
|
"type_info": {
|
|
"Custom": {
|
|
"name": "header_pair[]",
|
|
"kind": {
|
|
"Array": {
|
|
"Custom": {
|
|
"name": "header_pair",
|
|
"kind": {
|
|
"Composite": [
|
|
[
|
|
"name",
|
|
"Text"
|
|
],
|
|
[
|
|
"value",
|
|
"Bytea"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "response_body!",
|
|
"type_info": "Bytea"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Text"
|
|
]
|
|
},
|
|
"nullable": [
|
|
true,
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
"hash": "9f103f7d6dfa569bafce4546e6e610f3d31b95fe81f96ea72575b27ddfea796e"
|
|
}
|