[**@clickup/ent-framework**](../README.md)

***

[@clickup/ent-framework](../globals.md) / buildShape

# Function: buildShape()

> **buildShape**(`sql`): `string`

Defined in: [src/pg/helpers/buildShape.ts:52](https://github.com/clickup/ent-framework/blob/master/src/pg/helpers/buildShape.ts#L52)

Extracts a "shape" from some commonly built SQL queries. This function may be
used from the outside for logging/debugging, so it's here, not in __tests__.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `sql` | `string` |

## Returns

`string`
