{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT se.external_key, se.external_last_modified\n            FROM sync_entries se\n            INNER JOIN unnest($2::text[], $3::timestamptz[]) AS input(key, last_modified)\n              ON se.external_key = input.key\n              AND se.external_last_modified IS NOT DISTINCT FROM input.last_modified\n            WHERE se.connection_id = $1\n              AND se.status IN ('activated', 'failed')\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "external_key",
        "type_info": "Varchar"
      },
      {
        "ordinal": 1,
        "name": "external_last_modified",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "TextArray",
        "TimestamptzArray"
      ]
    },
    "nullable": [
      false,
      true
    ]
  },
  "hash": "edad85f89ad6b10621ec28205f4c9639ca65b5584649b0f8eabf66338e3b9013"
}
