---
title: "quotePath"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/data-table/src/lib/sql-helpers.ts#L79"
---

# 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.