You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dff16eb
Browse filesBrowse the repository at this point in the historyBrowse files
Chore: change AfterCreate hook signature to expose a slice of model instead of a single model, so it fires once per batch, not per creation, in the bulk inserts
1- change afterCreate signature from func(ctx, *Model) to func(ctx, []*Model) so single create wraps the result in a 1-element slice and CreateManyAndReturn passes the full results array, firing the hook once per batch instead of per-record
0 commit comments