Page Contents

Home > @loopback/sequelize > SequelizeCrudRepository > create

SequelizeCrudRepository.create() method

Signature:

create(entity: DataObject<T>, options?: AnyObject): Promise<T>;

Parameters

Parameter Type Description
entity DataObject<T>  
options AnyObject (Optional)

Returns:

Promise<T>