{
  "db_name": "PostgreSQL",
  "query": "UPDATE app SET policy = jsonb_set(\n            jsonb_set(policy, ARRAY['on_behalf_of'], to_jsonb($1::text)),\n            ARRAY['on_behalf_of_email'], to_jsonb($4::text)\n        ) WHERE policy->>'on_behalf_of' = ('u/' || $2) AND workspace_id = $3",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "Text",
        "Text",
        "Text",
        "Text"
      ]
    },
    "nullable": []
  },
  "hash": "03648be1558b3c968388ef0a511590efccff0d7e3490b1a7e8110c64bf7e9467"
}
