# ArchiveClient.$executeRawUnsafe() method · @imqueue/pg-prisma

Source: https://imqueue.org/api/pg-prisma/latest/pg-prisma.archiveclient._executerawunsafe/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-prisma 1.0.1 — generated reference, not hand-written

Execute a statement built by the installer.

**Signature:**

```typescript
$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.

