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-d0604f26b0e5e99c9b87c...

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 ",
"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": "d0604f26b0e5e99c9b87c910302b311e6163907fdf52c0ec48fd5aaf2a88e5bf"
}