{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT id, organization_id, course_id, created_by, name, description, total_points, created_at, updated_at\n        FROM rubrics\n        WHERE organization_id = $1 AND (course_id = $2 OR course_id IS NULL)\n        ORDER BY created_at DESC\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "organization_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "course_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 3,
        "name": "created_by",
        "type_info": "Uuid"
      },
      {
        "ordinal": 4,
        "name": "name",
        "type_info": "Varchar"
      },
      {
        "ordinal": 5,
        "name": "description",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "total_points",
        "type_info": "Int4"
      },
      {
        "ordinal": 7,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      true,
      false,
      false,
      true,
      false,
      false,
      false
    ]
  },
  "hash": "62c035c29d3b3c5a2fff84713668f6d8a2f6e2cbabf55a6795b218338239d8ab"
}
