{
  "db_name": "PostgreSQL",
  "query": "\n            UPDATE requirements SET\n                title = COALESCE($1, title),\n                description = COALESCE($2, description),\n                location = COALESCE($3, location),\n                budget = COALESCE($4, budget),\n                preferred_date = COALESCE($5, preferred_date),\n                extra_data_json = COALESCE($6, extra_data_json),\n                updated_at = NOW()\n            WHERE id = $7\n            RETURNING *\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "customer_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "profession_key",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "title",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "description",
        "type_info": "Text"
      },
      {
        "ordinal": 5,
        "name": "location",
        "type_info": "Varchar"
      },
      {
        "ordinal": 6,
        "name": "budget",
        "type_info": "Int4"
      },
      {
        "ordinal": 7,
        "name": "preferred_date",
        "type_info": "Date"
      },
      {
        "ordinal": 8,
        "name": "extra_data_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 9,
        "name": "status",
        "type_info": "Varchar"
      },
      {
        "ordinal": 10,
        "name": "rejection_reason",
        "type_info": "Text"
      },
      {
        "ordinal": 11,
        "name": "request_count",
        "type_info": "Int4"
      },
      {
        "ordinal": 12,
        "name": "accepted_count",
        "type_info": "Int4"
      },
      {
        "ordinal": 13,
        "name": "expires_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 14,
        "name": "approved_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 15,
        "name": "approved_by",
        "type_info": "Uuid"
      },
      {
        "ordinal": 16,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 17,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Varchar",
        "Text",
        "Varchar",
        "Int4",
        "Date",
        "Jsonb",
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      true,
      true,
      false,
      true,
      false,
      false,
      true,
      true,
      true,
      false,
      false
    ]
  },
  "hash": "6e88a8656f1b6db7317b12677cdbc4e813a501c2cfa5f4b57e22fe64f1a4e967"
}
