postgrelize / AfterBulkUpdate
Variable: AfterBulkUpdate ​
constAfterBulkUpdate:ModelStaticMethodDecorator
Defined in: src/decorators/hook-decorators.ts:287
Registers the decorated static method as an afterBulkUpdate hook of the model (like Model.afterBulkUpdate). The method receives the hook arguments; static methods only. Registered when sequelize.addModels applies the class. Accepts the TC39 and the legacy experimentalDecorators call signature.
Example ​
ts
class User extends Model {
@AfterBulkUpdate
static async onAfterBulkUpdate(options: unknown) {}
}