Currently only Where method accepts args as placeholder values
func (b *SelectBuilder) Where(pred interface{}, args ...interface{}) *SelectBuilder {
b.whereParts = append(b.whereParts, newWherePart(pred, args...))
return b
}
Other methods like GroupBy can not accept placeholdered data
// GroupBy adds GROUP BY expressions to the query.
func (b *SelectBuilder) GroupBy(groupBys ...string) *SelectBuilder {
b.groupBys = append(b.groupBys, groupBys...)
return b
}
Please add placeholders support to these methods to provide means for building rich SQL statements.
Currently only
Wheremethod acceptsargsas placeholder valuesOther methods like
GroupBycan not accept placeholdered dataPlease add placeholders support to these methods to provide means for building rich SQL statements.