Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

2.0 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "UPDATE slack_import_conversation SET checkpoint_part = $3, checkpoint_record = $4,\n               processed = processed + $5, imported = imported + $6, duplicates = duplicates + $7,\n               skipped = skipped + $8, reactions = reactions + $9,\n               search_dirty_generation = search_dirty_generation + CASE WHEN $10 THEN 1 ELSE 0 END,\n               search_state = CASE WHEN $10 THEN 'pending' ELSE search_state END,\n               search_receipt_id = CASE WHEN $10 THEN NULL ELSE search_receipt_id END,\n               search_submitted_generation = CASE WHEN $10 THEN NULL ELSE search_submitted_generation END,\n               search_updated_at = CASE WHEN $10 THEN clock_timestamp() ELSE search_updated_at END,\n               updated_at = clock_timestamp()\n               WHERE job_id = $1 AND slack_channel_id = $2\n               RETURNING processed, imported, duplicates, skipped, reactions, search_dirty_generation",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "processed",
        "type_info": "Int8"
      },
      {
        "ordinal": 1,
        "name": "imported",
        "type_info": "Int8"
      },
      {
        "ordinal": 2,
        "name": "duplicates",
        "type_info": "Int8"
      },
      {
        "ordinal": 3,
        "name": "skipped",
        "type_info": "Int8"
      },
      {
        "ordinal": 4,
        "name": "reactions",
        "type_info": "Int8"
      },
      {
        "ordinal": 5,
        "name": "search_dirty_generation",
        "type_info": "Int8"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Int4",
        "Int4",
        "Int8",
        "Int8",
        "Int8",
        "Int8",
        "Int8",
        "Bool"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "b149ef3a3e7909790400eadede7f614f254c2132882ba3655d1cdaadf82a0632"
}