@clickup/ent-framework
Version:
A PostgreSQL graph-database-alike library with microsharding and row-level security
24 lines (13 loc) • 466 B
Markdown
[**/ent-framework**](../README.md)
***
[/ent-framework](../globals.md) / escapeIdent
# Function: escapeIdent()
> **escapeIdent**(`ident`): `string`
Defined in: [src/pg/helpers/escapeIdent.ts:4](https://github.com/clickup/ent-framework/blob/master/src/pg/helpers/escapeIdent.ts#L4)
Optionally encloses a PG identifier (like table name) in "".
## Parameters
| Parameter | Type |
| ------ | ------ |
| `ident` | `string` |
## Returns
`string`