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.

648 B
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        INSERT INTO \"UserHistory\" (\"userId\", \"itemId\", \"itemType\", \"createdAt\", \"updatedAt\")\n        SELECT value.owner_id, value.item_id, $3, NOW(), NOW()\n        FROM UNNEST($1::text[], $2::text[]) AS value(item_id, owner_id)\n        ON CONFLICT (\"userId\", \"itemId\", \"itemType\") DO UPDATE\n        SET \"updatedAt\" = NOW()\n        ",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "TextArray",
        "TextArray",
        "Text"
      ]
    },
    "nullable": []
  },
  "hash": "c634aea246eb5a1004df4f7abf53bed966750e3a9609e5fbe79a4fbc18495efd"
}