{
  "db_name": "PostgreSQL",
  "query": "SELECT id, conversation_id, message_type as \"message_type: MessageType\", content, job_id, created_at, created_seq, step_name, success\n             FROM flow_conversation_message\n             WHERE conversation_id = $1\n               AND created_seq > $2\n             ORDER BY created_seq ASC\n             LIMIT $3\n             ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "conversation_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "message_type: MessageType",
        "type_info": {
          "Custom": {
            "name": "message_type",
            "kind": {
              "Enum": [
                "user",
                "assistant",
                "tool"
              ]
            }
          }
        }
      },
      {
        "ordinal": 3,
        "name": "content",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "job_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 5,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "created_seq",
        "type_info": "Int8"
      },
      {
        "ordinal": 7,
        "name": "step_name",
        "type_info": "Varchar"
      },
      {
        "ordinal": 8,
        "name": "success",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Int8",
        "Int8"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      true,
      false,
      false,
      true,
      false
    ]
  },
  "hash": "e8802be9203c1e88a06e337260ccca029380139f89a01a89033e36a6ed9ac082"
}
