{ "db_name": "PostgreSQL", "query": "select\n o.id,\n o.workspace_id,\n ov.name,\n ov.display_name,\n ov.category,\n ov.protocol,\n ov.security_level,\n ov.created_at as \"operation_created_at!: time::OffsetDateTime\",\n ov.created_at as \"operation_updated_at!: time::OffsetDateTime\",\n ov.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.wizard_state_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", "origin": { "Table": { "table": "operations", "name": "id" } } }, { "ordinal": 1, "name": "workspace_id", "type_info": "Text", "origin": { "Table": { "table": "operations", "name": "workspace_id" } } }, { "ordinal": 2, "name": "name", "type_info": "Text", "origin": { "Table": { "table": "operation_versions", "name": "name" } } }, { "ordinal": 3, "name": "display_name", "type_info": "Text", "origin": { "Table": { "table": "operation_versions", "name": "display_name" } } }, { "ordinal": 4, "name": "category", "type_info": "Text", "origin": { "Table": { "table": "operation_versions", "name": "category" } } }, { "ordinal": 5, "name": "protocol", "type_info": "Text", "origin": { "Table": { "table": "operation_versions", "name": "protocol" } } }, { "ordinal": 6, "name": "security_level", "type_info": "Text", "origin": { "Table": { "table": "operation_versions", "name": "security_level" } } }, { "ordinal": 7, "name": "operation_created_at!: time::OffsetDateTime", "type_info": "Timestamptz", "origin": { "Table": { "table": "operation_versions", "name": "created_at" } } }, { "ordinal": 8, "name": "operation_updated_at!: time::OffsetDateTime", "type_info": "Timestamptz", "origin": { "Table": { "table": "operation_versions", "name": "created_at" } } }, { "ordinal": 9, "name": "operation_published_at: time::OffsetDateTime", "type_info": "Timestamptz", "origin": { "Table": { "table": "operation_versions", "name": "published_at" } } }, { "ordinal": 10, "name": "version", "type_info": "Int4", "origin": { "Table": { "table": "operation_versions", "name": "version" } } }, { "ordinal": 11, "name": "status", "type_info": "Text", "origin": { "Table": { "table": "operation_versions", "name": "status" } } }, { "ordinal": 12, "name": "target_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "target_json" } } }, { "ordinal": 13, "name": "input_schema_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "input_schema_json" } } }, { "ordinal": 14, "name": "output_schema_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "output_schema_json" } } }, { "ordinal": 15, "name": "input_mapping_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "input_mapping_json" } } }, { "ordinal": 16, "name": "output_mapping_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "output_mapping_json" } } }, { "ordinal": 17, "name": "execution_config_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "execution_config_json" } } }, { "ordinal": 18, "name": "tool_description_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "tool_description_json" } } }, { "ordinal": 19, "name": "samples_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "samples_json" } } }, { "ordinal": 20, "name": "generated_draft_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "generated_draft_json" } } }, { "ordinal": 21, "name": "config_export_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "config_export_json" } } }, { "ordinal": 22, "name": "wizard_state_json", "type_info": "Jsonb", "origin": { "Table": { "table": "operation_versions", "name": "wizard_state_json" } } }, { "ordinal": 23, "name": "change_note", "type_info": "Text", "origin": { "Table": { "table": "operation_versions", "name": "change_note" } } }, { "ordinal": 24, "name": "created_at!: time::OffsetDateTime", "type_info": "Timestamptz", "origin": { "Table": { "table": "operation_versions", "name": "created_at" } } }, { "ordinal": 25, "name": "created_by", "type_info": "Text", "origin": { "Table": { "table": "operation_versions", "name": "created_by" } } } ], "parameters": { "Left": [] }, "nullable": [ false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, false, false, false, false, true, true, true, true, true, false, true ] }, "hash": "b531368c52ef70664dfe75fe801e52e70fc74af8e782989cf4aea3f1170d33e5" }