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
I'm using (b *Bulk) Update(pairs ...interface{}) to modify a huge quantity of data in a collection. To avoid memory errors, I'm using batches to perform the bulk.Run().
The problem I've found is the bulk class does not clean the the array of actions actions []bulkAction. Should we add a method to clean this variable or in the Run() function set the array as empty?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I'm using
(b *Bulk) Update(pairs ...interface{})
to modify a huge quantity of data in a collection. To avoid memory errors, I'm using batches to perform thebulk.Run()
.The problem I've found is the bulk class does not clean the the array of actions
actions []bulkAction
. Should we add a method to clean this variable or in theRun()
function set the array as empty?Thanks in advance!
The text was updated successfully, but these errors were encountered: