{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT * FROM connections\n            WHERE user_id = $1\n              AND deleted_at IS NULL\n              AND ($2::text IS NULL OR kind = $2)\n            ORDER BY created_at DESC\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "user_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "api_key_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 3,
        "name": "kind",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "provider",
        "type_info": "Varchar"
      },
      {
        "ordinal": 5,
        "name": "name",
        "type_info": "Varchar"
      },
      {
        "ordinal": 6,
        "name": "config_encrypted",
        "type_info": "Bytea"
      },
      {
        "ordinal": 7,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "updated_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 9,
        "name": "deleted_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      true,
      false,
      false,
      false,
      false,
      false,
      false,
      true
    ]
  },
  "hash": "41ddf59e576bf4f1aef741164e9091a9e0873b452bc825271e42d55c51b068f9"
}
