[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/devtools](../../README) / [index](../README) / redactBindings

# Function: redactBindings()

> **redactBindings**(`sql`, `bindings`, `options?`): `unknown`[]

Defined in: [devtools/src/redaction.ts:78](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/devtools/src/redaction.ts#L78)

Mask the bindings of `sql` that belong to a sensitive column.

## Parameters

### sql

`string`

The statement the bindings belong to, used to attribute each one to a column.

### bindings

`unknown`[]

The values, positionally matched to the statement's placeholders.

### options?

[`RedactionOptions`](../interfaces/RedactionOptions) = `{}`

Redaction settings from the app's `devtools` config.

## Returns

`unknown`[]

A new array; the input is not modified.
