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.6 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        UPDATE \"Project\"\n        SET\n            name = CASE WHEN $2 THEN $3 ELSE name END,\n            \"parentId\" = CASE WHEN $4 THEN $5 ELSE \"parentId\" END,\n            \"updatedAt\" = NOW()\n        WHERE id = $1\n        RETURNING\n            id,\n            name,\n            \"userId\" AS user_id,\n            \"parentId\" AS parent_id,\n            \"createdAt\"::timestamptz AS created_at,\n            \"updatedAt\"::timestamptz AS updated_at,\n            \"deletedAt\"::timestamptz AS deleted_at\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "user_id",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "parent_id",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "updated_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "deleted_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Bool",
        "Text",
        "Bool",
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      true,
      null,
      null,
      null
    ]
  },
  "hash": "a75159efffeec8475ddc48e6694e25da119b3fcae60b91bc049f5b6754d0313f"
}