{
  "db_name": "PostgreSQL",
  "query": "\n        UPDATE rubric_criteria\n        SET name = COALESCE($1, name),\n            description = COALESCE($2, description),\n            max_points = COALESCE($3, max_points),\n            position = COALESCE($4, position)\n        WHERE id = $5\n        AND rubric_id IN (SELECT id FROM rubrics WHERE organization_id = $6)\n        RETURNING id, rubric_id, name, description, max_points, position, created_at\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "rubric_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "name",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "description",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "max_points",
        "type_info": "Int4"
      },
      {
        "ordinal": 5,
        "name": "position",
        "type_info": "Int4"
      },
      {
        "ordinal": 6,
        "name": "created_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Varchar",
        "Text",
        "Int4",
        "Int4",
        "Uuid",
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      true,
      false,
      false,
      false
    ]
  },
  "hash": "e26e27402806a7fa4d85433ed18f25c84a2cc2f5eb6b9c2db7562f75755ddc13"
}
