{
  "db_name": "PostgreSQL",
  "query": "\n            INSERT INTO sync_entries (sync_id, connection_id, external_key, external_last_modified, external_size_bytes)\n            SELECT $1, $2, t.key, t.last_modified, t.size_bytes\n            FROM unnest($3::text[], $4::timestamptz[], $5::bigint[]) AS t(key, last_modified, size_bytes)\n            RETURNING *\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "sync_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "connection_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 3,
        "name": "external_key",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "external_last_modified",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "external_size_bytes",
        "type_info": "Int8"
      },
      {
        "ordinal": 6,
        "name": "status",
        "type_info": "Varchar"
      },
      {
        "ordinal": 7,
        "name": "file_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 8,
        "name": "batch_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 9,
        "name": "template_count",
        "type_info": "Int4"
      },
      {
        "ordinal": 10,
        "name": "error",
        "type_info": "Text"
      },
      {
        "ordinal": 11,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 12,
        "name": "updated_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 13,
        "name": "skipped_lines",
        "type_info": "Int4"
      },
      {
        "ordinal": 14,
        "name": "validation_errors",
        "type_info": "Jsonb"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid",
        "TextArray",
        "TimestamptzArray",
        "Int8Array"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      true,
      true,
      false,
      true,
      true,
      true,
      true,
      false,
      false,
      false,
      true
    ]
  },
  "hash": "4db70866e8d5b5d5519daf941211865849b4857f9f981cbd056f718300b26df2"
}
