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

Source: https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.nullableindex_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 the pair of partial indices with no options of their own.

**Signature:**

```typescript
export declare function NullableIndex(target: any, propertyName: string, propertyDescriptor?: PropertyDescriptor): void;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| target | any | Model prototype the property belongs to. |
| propertyName | string | Nullable column to split. |
| propertyDescriptor | PropertyDescriptor | _(Optional)_ Unused; present because a decorator receives it. |


**Returns:**

void

## Remarks

The bare form. Each half is a partial index keyed on the null test itself, so it serves `IS NULL` and `IS NOT NULL` lookups; use the factory form to add a method, a name, or a predicate of your own.

