{
  "db_name": "PostgreSQL",
  "query": "select\n                sv.secret_id,\n                sv.version,\n                sv.ciphertext,\n                sv.key_version,\n                sv.created_at as \"created_at!: time::OffsetDateTime\",\n                sv.created_by\n             from secrets s\n             join secret_versions sv\n               on sv.secret_id = s.id and sv.version = s.current_version\n             where s.workspace_id = $1 and s.id = $2",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "secret_id",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "version",
        "type_info": "Int4"
      },
      {
        "ordinal": 2,
        "name": "ciphertext",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "key_version",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "created_at!: time::OffsetDateTime",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "created_by",
        "type_info": "Text"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      true
    ]
  },
  "hash": "fb0bec06d2a3dbbf455947346eea5022c7ddac2ffe2a1969b2c6a2ed72c3730a"
}
