We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8754796 commit 4123f2cCopy full SHA for 4123f2c
database/gdb/gdb_model_with.go
@@ -433,7 +433,7 @@ func parseWithTagInField(field reflect.StructField) (output withTagOutput) {
433
output.Where = data[OrmTagForWithWhere]
434
output.Order = data[OrmTagForWithOrder]
435
output.Unscoped = data[OrmTagForWithUnscoped]
436
- output.BatchSize = gconv.Int(data["batchSize"])
437
- output.BatchThreshold = gconv.Int(data["threshold"])
+ output.BatchSize = gconv.Int(data[OrmTagForWithBatchSize])
+ output.BatchThreshold = gconv.Int(data[OrmTagForWithBatchThreshold])
438
return
439
}
0 commit comments