---
title: getTableName
---

# getTableName

<a href="https://github.com/remix-run/remix/blob/remix@3.0.0-alpha.6/packages/data-table/src/lib/table.ts#L377" target="_blank">View Source</a>

## Summary

Returns a table's SQL name.

## Signature

```ts
function getTableName<table extends AnyTable>(table: table): TableName<table>;

```

## Params

### table

## Returns

Table SQL name.