(b *testing.B)
| 37 | } |
| 38 | |
| 39 | func BenchmarkSelectSQL(b *testing.B) { |
| 40 | buf := NewBuffer() |
| 41 | for i := 0; i < b.N; i++ { |
| 42 | Select("a", "b").From("table").Where(Eq("c", 1)).OrderAsc("d").Build(dialect.MySQL, buf) |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | type stringSliceWithSQLScanner []string |
| 47 |