Sergey Rudachenko

Results 5 comments of Sergey Rudachenko

Can't you pass it as string? ``` clickhouse.NewQuery("Select * From event Where time > '?'", time.Now().String()) ```

The correct example is in README ``` for iter.Scan(&name, &date) { // } if iter.Error() != nil { log.Panicln(iter.Error()) } ``` Errors in Scan will also be accessible via iter.Error()....

I see two ways to solve this issue: 1. `clickhouse.NewRawQuery()` which will create Query that won't be prepared before running 2. skip preparation if `args` slice is empty In my...

I have no time to implement it right now, but pull requests are welcome, I'll leave this issue open.

I think explicit variant is preferable, let's add `func (i *Iter) SetOptions(opt IterOptions)`