{
  "db_name": "PostgreSQL",
  "query": "select\n                o.id,\n                o.workspace_id,\n                o.name,\n                o.display_name,\n                o.category,\n                o.protocol,\n                o.created_at as \"operation_created_at!: time::OffsetDateTime\",\n                o.updated_at as \"operation_updated_at!: time::OffsetDateTime\",\n                o.published_at as \"operation_published_at: time::OffsetDateTime\",\n                ov.version,\n                ov.status,\n                ov.target_json,\n                ov.input_schema_json,\n                ov.output_schema_json,\n                ov.input_mapping_json,\n                ov.output_mapping_json,\n                ov.execution_config_json,\n                ov.tool_description_json,\n                ov.samples_json,\n                ov.generated_draft_json,\n                ov.config_export_json,\n                ov.change_note,\n                ov.created_at as \"created_at!: time::OffsetDateTime\",\n                ov.created_by\n             from published_operations po\n             join operation_versions ov\n               on ov.operation_id = po.operation_id and ov.version = po.version\n             join operations o on o.id = po.operation_id\n             order by o.name asc",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "workspace_id",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "display_name",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "category",
        "type_info": "Text"
      },
      {
        "ordinal": 5,
        "name": "protocol",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "operation_created_at!: time::OffsetDateTime",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "operation_updated_at!: time::OffsetDateTime",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "operation_published_at: time::OffsetDateTime",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 9,
        "name": "version",
        "type_info": "Int4"
      },
      {
        "ordinal": 10,
        "name": "status",
        "type_info": "Text"
      },
      {
        "ordinal": 11,
        "name": "target_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 12,
        "name": "input_schema_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 13,
        "name": "output_schema_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 14,
        "name": "input_mapping_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 15,
        "name": "output_mapping_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 16,
        "name": "execution_config_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 17,
        "name": "tool_description_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 18,
        "name": "samples_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 19,
        "name": "generated_draft_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 20,
        "name": "config_export_json",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 21,
        "name": "change_note",
        "type_info": "Text"
      },
      {
        "ordinal": 22,
        "name": "created_at!: time::OffsetDateTime",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 23,
        "name": "created_by",
        "type_info": "Text"
      }
    ],
    "parameters": {
      "Left": []
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      true,
      true,
      true,
      false,
      true
    ]
  },
  "hash": "8ac15e73f704021c8cd23b3d32ebb215caa6eed07b30f4b3f98b97698e7334ee"
}
