(b *testing.B)
| 1666 | } |
| 1667 | |
| 1668 | func BenchmarkUpdate3(b *testing.B) { |
| 1669 | bt := WithTemplate(&testTemplate) |
| 1670 | for n := 0; n < b.N; n++ { |
| 1671 | _ = bt.Update("artist").Set(struct { |
| 1672 | Nombre string `db:"name"` |
| 1673 | }{"Artist"}).Set(map[string]string{"last_name": "Foo"}).Where(db.Cond{"id <": 5}).String() |
| 1674 | } |
| 1675 | } |
| 1676 | |
| 1677 | func BenchmarkUpdate4(b *testing.B) { |
| 1678 | bt := WithTemplate(&testTemplate) |
nothing calls this directly
no test coverage detected
searching dependent graphs…