pub async fn run_on_account(
user: &User,
script_id: Uuid,
account_id: Uuid,
) -> Result<ScriptRun, RunError>Expand description
Runs the stored script on each transaction of the account, then writes every script tag effect in one all-or-nothing batch. A disabled script runs too: only the stored row decides.
ยงErrors
A missing script (RowNotFound), a failing load or run, or a refused or
failing write-back; nothing is written then.