Open ansidev opened 3 years ago
I use this:
func getRawQuery(query *dbr.SelectBuilder) (string, error) {
buf := NewBuffer()
err := query.Build(dialect.ClickHouse, buf)
if err != nil {
return "", err
}
qstr := buf.String()
return dbr.InterpolateForDialect(qstr, buf.Value(), dialect.ClickHouse)
}```
I want to get the following data:
Currently, I find no way to do these things.