Page Contents

Home > @loopback/sequelize > SequelizeCrudRepository > syncLoadedSequelizeModels

SequelizeCrudRepository.syncLoadedSequelizeModels() method

Run CREATE TABLE query for the all sequelize models, Useful for quick testing

Signature:

syncLoadedSequelizeModels(options?: SyncOptions): Promise<void>;

Parameters

Parameter Type Description
options SyncOptions (Optional) Sequelize Sync Options

Returns:

Promise<void>