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.

1.0 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT EXISTS (\n                SELECT 1\n                FROM comms_channel_participants\n                WHERE channel_id = $1\n                  AND user_id = $2\n                  AND left_at IS NULL\n                  AND (\n                      role IN (\n                          'admin'::comms_participant_role,\n                          'owner'::comms_participant_role\n                      )\n                      OR (\n                          NOT $3\n                          AND role = 'member'::comms_participant_role\n                      )\n                  )\n            ) AS \"exists!\"\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "exists!",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Bool"
      ]
    },
    "nullable": [
      null
    ]
  },
  "hash": "8b8bf65a87d7dbc7689a0e8e3d85a425805ffc2cdac1a78032f1f8737c372b4c"
}