Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
demoManito committed Mar 16, 2024
1 parent cb54e6a commit 47953d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion callbacks/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ func Create(config *Config) func(db *gorm.DB) {

switch db.Statement.ReflectValue.Kind() {
case reflect.Slice, reflect.Array:
fmt.Println(config.LastInsertIDReversed)
if config.LastInsertIDReversed {
for i := db.Statement.ReflectValue.Len() - 1; i >= 0; i-- {
rv := db.Statement.ReflectValue.Index(i)
Expand Down

0 comments on commit 47953d2

Please sign in to comment.