{
  "db_name": "PostgreSQL",
  "query": "SELECT\n                u.id, u.did, u.handle, u.email,\n                u.preferred_comms_channel as \"channel: CommsChannel\",\n                u.discord_username, u.telegram_username, u.signal_username,\n                k.key_bytes, k.encryption_version\n            FROM users u\n            JOIN user_keys k ON u.id = k.user_id\n            WHERE u.did = $1",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "did",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "handle",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "email",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "channel: CommsChannel",
        "type_info": {
          "Custom": {
            "name": "comms_channel",
            "kind": {
              "Enum": [
                "email",
                "discord",
                "telegram",
                "signal"
              ]
            }
          }
        }
      },
      {
        "ordinal": 5,
        "name": "discord_username",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "telegram_username",
        "type_info": "Text"
      },
      {
        "ordinal": 7,
        "name": "signal_username",
        "type_info": "Text"
      },
      {
        "ordinal": 8,
        "name": "key_bytes",
        "type_info": "Bytea"
      },
      {
        "ordinal": 9,
        "name": "encryption_version",
        "type_info": "Int4"
      }
    ],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      true,
      false,
      true,
      true,
      true,
      false,
      true
    ]
  },
  "hash": "c8657f67fdd3cc0fb40dfaabd5cde460d84ea1de18f620ee4ece2623ad153911"
}
