---
title: quotePath
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.3/packages/data-table/src/lib/sql-helpers.ts#L60
---

# quotePath

## Summary

Quotes each segment of a dotted identifier path.

Wildcard segments (`*`) are preserved.

## Signature

```ts
function quotePath(path: string, quoteIdentifier: QuoteIdentifier): string;

```

## Parameters

### `path`

Dotted path to quote.

### `quoteIdentifier`

Dialect-specific identifier quote function.

## Returns

Quoted path string.