{ "db_name": "PostgreSQL", "query": "\n SELECT s.id AS \"id: SubscriptionId\", s.project_id AS \"project_id!: ProjectId\",\n p.title AS project_title, p.slug AS \"project_slug: super::Slug\",\n t.name AS tier_name, t.price_cents, s.status AS \"status: super::SubscriptionStatus\",\n s.current_period_end AS \"current_period_end: chrono::DateTime\",\n s.stripe_subscription_id\n FROM subscriptions s\n JOIN projects p ON p.id = s.project_id\n JOIN subscription_tiers t ON t.id = s.tier_id\n WHERE s.subscriber_id = $1\n ORDER BY s.created_at DESC\n LIMIT 1000\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id: SubscriptionId", "type_info": "Uuid" }, { "ordinal": 1, "name": "project_id!: ProjectId", "type_info": "Uuid" }, { "ordinal": 2, "name": "project_title", "type_info": "Varchar" }, { "ordinal": 3, "name": "project_slug: super::Slug", "type_info": "Varchar" }, { "ordinal": 4, "name": "tier_name", "type_info": "Varchar" }, { "ordinal": 5, "name": "price_cents", "type_info": "Int4" }, { "ordinal": 6, "name": "status: super::SubscriptionStatus", "type_info": "Varchar" }, { "ordinal": 7, "name": "current_period_end: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 8, "name": "stripe_subscription_id", "type_info": "Text" } ], "parameters": { "Left": [ "Uuid" ] }, "nullable": [ false, true, false, false, false, false, false, true, false ] }, "hash": "1612ae70defc4a469401a1fff74a1ba595fee86f372fb457b2f1316de9f2bf93" }