{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT pr.* \n        FROM peer_reviews pr\n        JOIN course_submissions cs ON pr.submission_id = cs.id\n        WHERE cs.user_id = $1 AND cs.lesson_id = $2\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "submission_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "reviewer_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 3,
        "name": "score",
        "type_info": "Int4"
      },
      {
        "ordinal": 4,
        "name": "feedback",
        "type_info": "Text"
      },
      {
        "ordinal": 5,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "updated_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "organization_id",
        "type_info": "Uuid"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "da54efaca96ea7a75198417d4ce1754aaad514c9877a264449807338a1f539b8"
}
