Having adds an expression to the HAVING clause of the query. See Where.
(pred interface{}, rest ...interface{})
| 355 | // |
| 356 | // See Where. |
| 357 | func (b SelectBuilder) Having(pred interface{}, rest ...interface{}) SelectBuilder { |
| 358 | return builder.Append(b, "HavingParts", newWherePart(pred, rest...)).(SelectBuilder) |
| 359 | } |
| 360 | |
| 361 | // OrderByClause adds ORDER BY clause to the query. |
| 362 | func (b SelectBuilder) OrderByClause(pred interface{}, args ...interface{}) SelectBuilder { |