keon94 commented on code in PR #4906:
URL:
https://github.com/apache/incubator-devlake/pull/4906#discussion_r1170748620
##########
backend/helpers/pluginhelper/api/batch_save_divider.go:
##########
@@ -31,13 +31,14 @@ import (
// BatchSaveDivider creates and caches BatchSave, this is helpful when dealing
with massive amount of data records
// with arbitrary types.
type BatchSaveDivider struct {
- basicRes context.BasicRes
- log log.Logger
- db dal.Dal
- batches map[reflect.Type]*BatchSave
- batchSize int
- table string
- params string
+ basicRes context.BasicRes
+ log log.Logger
+ db dal.Dal
+ batches map[reflect.Type]*BatchSave
+ batchSize int
+ table string
+ params string
+ ignoreOrigin bool
Review Comment:
I was using this to do batch save for generic tables, but I guess we don't
need it for now anymore. You think this can be useful later?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]