SQLStore: Create utility for bulk inserts (#57632)
* Add batchsize to dialects * Some intermediary progress * Reflection-based implementation * Validate batch size * Implement a few simple tests * Fix linter error * Add debug message when falling back to default batch size
This commit is contained in:
@@ -26,6 +26,7 @@ type Dialect interface {
|
||||
Default(col *Column) string
|
||||
BooleanStr(bool) string
|
||||
DateTimeFunc(string) string
|
||||
BatchSize() int
|
||||
|
||||
OrderBy(order string) string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user