mirror of https://github.com/synctv-org/synctv
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.
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT u.id AS \"user_id!: UserId\",\n COALESCE(apc.changed_at, u.created_at) AS \"changed_at!\",\n COALESCE(apc.version, 0) AS \"version!\"\n FROM users u\n LEFT JOIN auth_password_credentials apc ON apc.user_id = u.id\n WHERE u.id = $1 AND u.deleted_at IS NULL\n FOR UPDATE OF u\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "user_id!: UserId",
|
|
"type_info": "Int8",
|
|
"origin": {
|
|
"Table": {
|
|
"table": "users",
|
|
"name": "id"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "changed_at!",
|
|
"type_info": "Timestamptz",
|
|
"origin": "Expression"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "version!",
|
|
"type_info": "Int4",
|
|
"origin": "Expression"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Int8"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
null,
|
|
null
|
|
]
|
|
},
|
|
"hash": "f3a27f814b10936b2db176fedd3ae988799e0f355576438039f03ad86d5381e3"
|
|
}
|