Page Contents

Home > @loopback/sequelize > SequelizeCrudRepository > syncSequelizeModel

SequelizeCrudRepository.syncSequelizeModel() method

Run CREATE TABLE query for the target sequelize model, Useful for quick testing

Signature:

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

Parameters

Parameter Type Description
options SyncOptions (Optional) Sequelize Sync Options

Returns:

Promise<void>