You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
synctv/.sqlx/query-64f54a02b0999ff78afb5...

37 lines
1.2 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "\n UPDATE email_outbox\n SET status = $4::SMALLINT,\n attempts = $5,\n next_attempt_at = CASE\n WHEN $4::SMALLINT = $8::SMALLINT THEN NOW() + make_interval(secs => $6::DOUBLE PRECISION)\n ELSE next_attempt_at\n END,\n locked_by = NULL,\n locked_at = NULL,\n last_error = $7\n WHERE id = $1\n AND locked_by = $2\n AND lock_version = $3\n AND status = $9::SMALLINT\n RETURNING status AS \"status!\"\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "status!",
"type_info": "Int2",
"origin": {
"Table": {
"table": "email_outbox",
"name": "status"
}
}
}
],
"parameters": {
"Left": [
"Text",
"Text",
"Int8",
"Int2",
"Int4",
"Float8",
"Text",
"Int2",
"Int2"
]
},
"nullable": [
false
]
},
"hash": "64f54a02b0999ff78afb5d7f4a847a11f215f53167f19c27ca7d2c8accc32052"
}