# SoqlRawBuilder (/docs/core/reference/api/interfaces/SoqlRawBuilder)



[@kysoql/core](/docs/core/reference/api) / SoqlRawBuilder

A trusted SOQL fragment that is emitted verbatim by the compiler.

Raw fragments bypass Kysoql's identifier and value escaping. Never build one
from untrusted or user-controlled input.

## Type Parameters [#type-parameters]

| Type Parameter | Default type |
| -------------- | ------------ |
| `Output`       | `unknown`    |

## Methods [#methods]

<a id="api-tooperationnode" />

### toOperationNode() [#tooperationnode]

```ts
toOperationNode(): RawNode;
```

Returns the immutable operation node represented by this builder.

#### Returns [#returns]

[`RawNode`](/docs/core/reference/api/type-aliases/RawNode)

## Properties [#properties]

| Property                                                          | Modifier   | Type     | Description                                                                                                 |
| ----------------------------------------------------------------- | ---------- | -------- | ----------------------------------------------------------------------------------------------------------- |
| <a id="api-property-soqlrawbuildertype" /> `[soqlRawBuilderType]` | `readonly` | `Output` | Type-only brand used by Kysoql to preserve compile-time information; it has no user-facing runtime meaning. |
