27 lines
762 B
JSON
27 lines
762 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n UPDATE tokens\n SET access_token_hash = $2,\n refresh_token_hash = $3,\n access_expires_at = $4,\n refresh_expires_at = $5\n WHERE refresh_token_hash = $1\n AND revoked_at IS NULL\n AND refresh_expires_at > now()\n RETURNING id\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Uuid"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Bytea",
|
|
"Bytea",
|
|
"Bytea",
|
|
"Timestamptz",
|
|
"Timestamptz"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "398a4f8e5438799586f42687d120fd055e342ba311a12264e34454414cb2325d"
|
|
}
|