# InitOptions interface · @imqueue/pg-sequelize

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

What a model's `options` actually holds on a model of this package.

**Signature:**

```typescript
export interface InitOptions extends InitOptionsOrigin, IDynamicViewDefineOptions 
```
**Extends:** InitOptionsOrigin, [IDynamicViewDefineOptions](https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.idynamicviewdefineoptions/)

## Remarks

Sequelize's own init options together with the view fields the decorators write into them, which is why reading `Model.options` for `treatAsView`, `viewDefinition` or `viewParams` type-checks here and does not in plain sequelize.

