IMQORMOptions.modelsPath property

Directory holding the COMPILED model files.

Signature:

modelsPath: string;

Remarks

Walked recursively for .js files, so point it at build output rather than at .ts sources. Each file must export a symbol named exactly after the file — Lead.js must export Lead — because that is how the loader picks the model out of the module. A mismatch hands Sequelize undefined instead of a model.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.