ArchiveClient.$executeRawUnsafe() method

Execute a statement built by the installer.

Signature:

$executeRawUnsafe(sql: string, ...values: unknown[]): Promise<unknown>;

Parameters

Parameter

Type

Description

sql

string

values

unknown[]

Returns:

Promise<unknown>

Remarks

Named Unsafe because it interpolates rather than binds, which is what DDL requires — schema, table and column names cannot be parameters. Every identifier the installer interpolates is validated against /^[A-Za-z_][A-Za-z0-9_]*$/ first, and it throws rather than quoting anything that fails.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.