Commit 90ad8f8
committed
fix(test): add WHERE clause for large batch update test
GoFrame requires WHERE clause for UPDATE operations as a safety measure.
Changed from bare Update() to Where("id > ?", 0).Update() to update
all records while satisfying the safety check.
ref gogf#46891 parent e05d170 commit 90ad8f8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2579 | 2579 | | |
2580 | 2580 | | |
2581 | 2581 | | |
2582 | | - | |
| 2582 | + | |
2583 | 2583 | | |
2584 | | - | |
| 2584 | + | |
2585 | 2585 | | |
2586 | 2586 | | |
2587 | 2587 | | |
| |||
0 commit comments