Reference

willo_db_create_function

Create or replace one Postgres function (SECURITY INVOKER).

  • Act
  • Needs approval
  • Secret scan
Generated from Willo's codeOpen in ClaudeOpen in ChatGPT
On this page

Create a database function. ALWAYS needs a person's approval; the card shows the full SQL. Runs on the draft backend while the business is drafting (Publish replays it live), otherwise on the LIVE backend; the result's [Backend: …] line says which.

Access

  • Token: read + act, and editor access or higher on the business.
  • Approval: Always. Every call raises a card a person approves on the dashboard.
  • Secret scan: refused if the new content holds a value shaped like an API key or token.

Parameters

ParameterTypeRequiredDescription
sqlstringyesOne statement, exactly as written.