{ "db_name": "PostgreSQL", "query": "\n SELECT\n id AS \"id: TransactionId\", buyer_id AS \"buyer_id: UserId\", seller_id AS \"seller_id: UserId\",\n item_id AS \"item_id: ItemId\", amount_cents AS \"amount_cents: Cents\", platform_fee_cents AS \"platform_fee_cents: Cents\",\n currency, status AS \"status: crate::db::TransactionStatus\", stripe_payment_intent_id, stripe_checkout_session_id,\n created_at AS \"created_at: chrono::DateTime\", completed_at AS \"completed_at: chrono::DateTime\",\n item_title, seller_username, share_contact, project_id AS \"project_id: ProjectId\",\n parent_transaction_id AS \"parent_transaction_id: TransactionId\", promo_code_id AS \"promo_code_id: PromoCodeId\",\n guest_email, claim_token AS \"claim_token: ClaimToken\", claimed_by AS \"claimed_by: UserId\",\n download_token AS \"download_token: DownloadToken\"\n FROM transactions WHERE id = $1\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id: TransactionId", "type_info": "Uuid" }, { "ordinal": 1, "name": "buyer_id: UserId", "type_info": "Uuid" }, { "ordinal": 2, "name": "seller_id: UserId", "type_info": "Uuid" }, { "ordinal": 3, "name": "item_id: ItemId", "type_info": "Uuid" }, { "ordinal": 4, "name": "amount_cents: Cents", "type_info": "Int4" }, { "ordinal": 5, "name": "platform_fee_cents: Cents", "type_info": "Int4" }, { "ordinal": 6, "name": "currency", "type_info": "Varchar" }, { "ordinal": 7, "name": "status: crate::db::TransactionStatus", "type_info": "Varchar" }, { "ordinal": 8, "name": "stripe_payment_intent_id", "type_info": "Varchar" }, { "ordinal": 9, "name": "stripe_checkout_session_id", "type_info": "Varchar" }, { "ordinal": 10, "name": "created_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 11, "name": "completed_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 12, "name": "item_title", "type_info": "Varchar" }, { "ordinal": 13, "name": "seller_username", "type_info": "Varchar" }, { "ordinal": 14, "name": "share_contact", "type_info": "Bool" }, { "ordinal": 15, "name": "project_id: ProjectId", "type_info": "Uuid" }, { "ordinal": 16, "name": "parent_transaction_id: TransactionId", "type_info": "Uuid" }, { "ordinal": 17, "name": "promo_code_id: PromoCodeId", "type_info": "Uuid" }, { "ordinal": 18, "name": "guest_email", "type_info": "Varchar" }, { "ordinal": 19, "name": "claim_token: ClaimToken", "type_info": "Uuid" }, { "ordinal": 20, "name": "claimed_by: UserId", "type_info": "Uuid" }, { "ordinal": 21, "name": "download_token: DownloadToken", "type_info": "Uuid" } ], "parameters": { "Left": [ "Uuid" ] }, "nullable": [ false, true, true, true, false, false, false, false, true, true, false, true, true, true, false, true, true, true, true, true, true, true ] }, "hash": "5d1b0b86891356935ceb3f9857dad2d57e08597e916babf1667a0fc4e1ac05ad" }