{
  "db_name": "PostgreSQL",
  "query": "\n            INSERT INTO sync_operations (connection_id, triggered_by, strategy, strategy_config, sync_config)\n            VALUES ($1, $2, $3, $4, $5)\n            RETURNING *\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "connection_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "status",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "strategy",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "strategy_config",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 5,
        "name": "files_found",
        "type_info": "Int4"
      },
      {
        "ordinal": 6,
        "name": "files_skipped",
        "type_info": "Int4"
      },
      {
        "ordinal": 7,
        "name": "files_ingested",
        "type_info": "Int4"
      },
      {
        "ordinal": 8,
        "name": "files_failed",
        "type_info": "Int4"
      },
      {
        "ordinal": 9,
        "name": "batches_created",
        "type_info": "Int4"
      },
      {
        "ordinal": 10,
        "name": "error_summary",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 11,
        "name": "triggered_by",
        "type_info": "Uuid"
      },
      {
        "ordinal": 12,
        "name": "sync_config",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 13,
        "name": "started_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 14,
        "name": "completed_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 15,
        "name": "created_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid",
        "Varchar",
        "Jsonb",
        "Jsonb"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      true,
      false,
      false,
      false,
      false,
      false,
      true,
      false,
      false,
      true,
      true,
      false
    ]
  },
  "hash": "688e01908bb746a7deec0f99c5a3ca7b400e2cd9ee16faf7b0e195165a0146be"
}
