(b *testing.B)
| 1682 | } |
| 1683 | |
| 1684 | func BenchmarkUpdate5(b *testing.B) { |
| 1685 | bt := WithTemplate(&testTemplate) |
| 1686 | for n := 0; n < b.N; n++ { |
| 1687 | _ = bt.Update("artist").Set( |
| 1688 | "name = ? || ' ' || ? || id", "Artist", "#", |
| 1689 | "id = id + ?", 10, |
| 1690 | ).Where("id > ?", 0).String() |
| 1691 | } |
| 1692 | } |
| 1693 | |
| 1694 | func stripWhitespace(in string) string { |
| 1695 | q := reInvisibleChars.ReplaceAllString(in, ` `) |
nothing calls this directly
no test coverage detected
searching dependent graphs…