{
  "db_name": "PostgreSQL",
  "query": "SELECT\n                demos.id, demos.name, url, map, red, blu, uploader, duration, demos.created_at,\n                \"scoreRed\" as score_red, \"scoreBlue\" as score_blue, server, nick,\n                \"playerCount\" as player_count,\n                users_named.name as uploader_name_preferred,\n                users.steamid as \"uploader_steam_id?: SteamId\",\n                users.name as \"uploader_name?\",\n                demos.private_until\n            FROM demos\n            LEFT JOIN users_named ON uploader = users_named.id\n            LEFT JOIN users ON uploader = users.id\n            WHERE deleted_at IS NULL AND demos.id = $1",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Int4"
      },
      {
        "ordinal": 1,
        "name": "name",
        "type_info": "Varchar"
      },
      {
        "ordinal": 2,
        "name": "url",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "map",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "red",
        "type_info": "Varchar"
      },
      {
        "ordinal": 5,
        "name": "blu",
        "type_info": "Varchar"
      },
      {
        "ordinal": 6,
        "name": "uploader",
        "type_info": "Int4"
      },
      {
        "ordinal": 7,
        "name": "duration",
        "type_info": "Int4"
      },
      {
        "ordinal": 8,
        "name": "created_at",
        "type_info": "Timestamp"
      },
      {
        "ordinal": 9,
        "name": "score_red",
        "type_info": "Int4"
      },
      {
        "ordinal": 10,
        "name": "score_blue",
        "type_info": "Int4"
      },
      {
        "ordinal": 11,
        "name": "server",
        "type_info": "Varchar"
      },
      {
        "ordinal": 12,
        "name": "nick",
        "type_info": "Varchar"
      },
      {
        "ordinal": 13,
        "name": "player_count",
        "type_info": "Int4"
      },
      {
        "ordinal": 14,
        "name": "uploader_name_preferred",
        "type_info": "Text"
      },
      {
        "ordinal": 15,
        "name": "uploader_steam_id?: SteamId",
        "type_info": "Varchar"
      },
      {
        "ordinal": 16,
        "name": "uploader_name?",
        "type_info": "Varchar"
      },
      {
        "ordinal": 17,
        "name": "private_until",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": ["Int4"]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      false,
      false,
      true
    ]
  },
  "hash": "7ea7c5f61e8c77898d8b816fce80f066026822e03d6f74bd4ae19d7c9d914426"
}
