{ "db_name": "PostgreSQL", "query": "\n SELECT t.id AS \"id: TipId\", t.tipper_id AS \"tipper_id: UserId\", t.recipient_id AS \"recipient_id: UserId\",\n t.project_id AS \"project_id: ProjectId\", t.amount_cents AS \"amount_cents: Cents\",\n t.message, t.status AS \"status: super::TransactionStatus\",\n t.created_at AS \"created_at: chrono::DateTime\",\n t.completed_at AS \"completed_at: chrono::DateTime\",\n u.username AS tipper_username, u.display_name AS tipper_display_name\n FROM tips t\n JOIN users u ON u.id = t.tipper_id\n WHERE t.recipient_id = $1 AND t.status = 'completed'\n ORDER BY t.created_at DESC\n LIMIT $2 OFFSET $3\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id: TipId", "type_info": "Uuid" }, { "ordinal": 1, "name": "tipper_id: UserId", "type_info": "Uuid" }, { "ordinal": 2, "name": "recipient_id: UserId", "type_info": "Uuid" }, { "ordinal": 3, "name": "project_id: ProjectId", "type_info": "Uuid" }, { "ordinal": 4, "name": "amount_cents: Cents", "type_info": "Int4" }, { "ordinal": 5, "name": "message", "type_info": "Varchar" }, { "ordinal": 6, "name": "status: super::TransactionStatus", "type_info": "Varchar" }, { "ordinal": 7, "name": "created_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 8, "name": "completed_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 9, "name": "tipper_username", "type_info": "Varchar" }, { "ordinal": 10, "name": "tipper_display_name", "type_info": "Varchar" } ], "parameters": { "Left": [ "Uuid", "Int8", "Int8" ] }, "nullable": [ false, false, false, true, false, true, false, false, true, false, true ] }, "hash": "c71cc7d733de0e4bebfd201d882a1a98213c4178481d0ef90baeb75314b66adf" }