Print query execution time in milliseconds when logging SQL.
The fields to insert / update. Defaults to all fields
Run before / after bulk create hooks?
Ignore duplicate values for primary keys? (not supported by postgres)
Defaults to false
Run before / after create hooks for each individual Instance? BulkCreate hooks will still be run if options.hooks is true.
A function that gets executed while running the query to log the sql.
Append RETURNING * to get back auto generated values (Postgres only)
An optional parameter to specify the schema search_path (Postgres only)
Transaction to run query under
Fields to update if row key already exists (on duplicate key update)? (only supported by mysql & mariadb). By default, all fields are updated.
Run validations before the row is inserted
Generated using TypeDoc
Options for Model.bulkCreate method