# raw() function · @imqueue/pg-prisma

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

Text spliced in as written, binding nothing.

**Signature:**

```typescript
export declare function raw(text: string): SqlFragment;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| text | string | The SQL, spliced verbatim. |


**Returns:**

[SqlFragment](https://imqueue.org/api/pg-prisma/latest/pg-prisma.sqlfragment/)

A fragment binding nothing.

## Remarks

\*\*The one way to write SQL from a value, and the only unsafe one.\*\* Every caller must be passing something from a closed set it controls — a column name looked up in a map, a direction that is `ASC` or `DESC` — never a string that reached it from outside.

