IMQORMOptions interface
Everything database() needs on its first call.
Signature:
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 |
|---|---|---|---|
|
string |
(Optional) Postgres connection string. | ||
|
ILogger |
Where SQL statements are logged. | ||
|
string |
Directory holding the COMPILED model files. | ||
|
SequelizeOptions |
Options passed through to the Sequelize constructor. |