# IMQORMOptions interface · @imqueue/pg-sequelize

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

Everything [database()](https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.database/) needs on its first call.

**Signature:**

```typescript
export interface IMQORMOptions 
```

## Remarks

Only the first `database()` call reads this, so treat it as start-up config rather than something to vary per call. Note also that `database()` WRITES to the object it is given — it fills in `connectionString` from the environment and replaces `sequelize.logging` — so a config exported as a module constant and passed at every call site does not stay as written.

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [connectionString?](https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.imqormoptions.connectionstring/) |  | string | _(Optional)_ Postgres connection string. |
| [logger](https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.imqormoptions.logger/) |  | ILogger | Where SQL statements are logged. |
| [modelsPath](https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.imqormoptions.modelspath/) |  | string | Directory holding the COMPILED model files. |
| [sequelize](https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.imqormoptions.sequelize/) |  | SequelizeOptions | Options passed through to the Sequelize constructor. |

