# ColumnIndex() function · @imqueue/pg-sequelize

Source: https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.columnindex_1/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-sequelize 4.2.0 — generated reference, not hand-written

Declares a plain btree index on a model column.

**Signature:**

```typescript
export declare function ColumnIndex(target: any, propertyName: string, propertyDescriptor?: PropertyDescriptor): void;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| target | any | Model prototype the property belongs to. |
| propertyName | string | Column to index. |
| propertyDescriptor | PropertyDescriptor | _(Optional)_ Unused; present because a decorator receives it. |


**Returns:**

void

## Remarks

The bare form of the decorator, equivalent to calling it with no options. Use the factory form for anything Postgres-specific.

