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.

3.6 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        UPDATE \"PdfPlaceableCommentAnchor\" SET\n            \"page\" = COALESCE($1, \"page\"),\n            \"originalPage\" = COALESCE($2, \"originalPage\"),\n            \"originalIndex\" = COALESCE($3, \"originalIndex\"),\n            \"xPct\" = COALESCE($4, \"xPct\"),\n            \"yPct\" = COALESCE($5, \"yPct\"),\n            \"widthPct\" = COALESCE($6, \"widthPct\"),\n            \"heightPct\" = COALESCE($7, \"heightPct\"),\n            \"rotation\" = COALESCE($8, \"rotation\"),\n            \"allowableEdits\" = COALESCE($9, \"allowableEdits\"),\n            \"wasEdited\" = COALESCE($10, \"wasEdited\"),\n            \"wasDeleted\" = COALESCE($11, \"wasDeleted\"),\n            \"shouldLockOnSave\" = COALESCE($12, \"shouldLockOnSave\")\n        WHERE uuid = $13 AND \"documentId\" = $14\n        RETURNING \n            uuid, \n            \"documentId\" as document_id,\n            owner, \n            root_id, \n            page, \n            \"originalPage\" as original_page, \n            \"originalIndex\" as original_index, \n            \"xPct\" as x_pct, \n            \"yPct\" as y_pct, \n            \"widthPct\" as width_pct, \n            \"heightPct\" as height_pct, \n            rotation,\n            \"allowableEdits\" as allowable_edits, \n            \"wasEdited\" as was_edited, \n            \"wasDeleted\" as was_deleted, \n            \"shouldLockOnSave\" as should_lock_on_save\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "uuid",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "document_id",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "owner",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "root_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 4,
        "name": "page",
        "type_info": "Int4"
      },
      {
        "ordinal": 5,
        "name": "original_page",
        "type_info": "Int4"
      },
      {
        "ordinal": 6,
        "name": "original_index",
        "type_info": "Int4"
      },
      {
        "ordinal": 7,
        "name": "x_pct",
        "type_info": "Float8"
      },
      {
        "ordinal": 8,
        "name": "y_pct",
        "type_info": "Float8"
      },
      {
        "ordinal": 9,
        "name": "width_pct",
        "type_info": "Float8"
      },
      {
        "ordinal": 10,
        "name": "height_pct",
        "type_info": "Float8"
      },
      {
        "ordinal": 11,
        "name": "rotation",
        "type_info": "Float8"
      },
      {
        "ordinal": 12,
        "name": "allowable_edits",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 13,
        "name": "was_edited",
        "type_info": "Bool"
      },
      {
        "ordinal": 14,
        "name": "was_deleted",
        "type_info": "Bool"
      },
      {
        "ordinal": 15,
        "name": "should_lock_on_save",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Int4",
        "Int4",
        "Int4",
        "Float8",
        "Float8",
        "Float8",
        "Float8",
        "Float8",
        "Jsonb",
        "Bool",
        "Bool",
        "Bool",
        "Uuid",
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      false,
      false,
      false
    ]
  },
  "hash": "afa173e2c3daae4e2a9d27a0fd037677df9d49b06ddc95c73cad60e4fa051b1c"
}