(expr string, params ...interface{})
| 314 | } |
| 315 | |
| 316 | func (q *Query) DistinctOn(expr string, params ...interface{}) *Query { |
| 317 | q.distinctOn = append(q.distinctOn, SafeQuery(expr, params...)) |
| 318 | return q |
| 319 | } |
| 320 | |
| 321 | // Column adds a column to the Query quoting it according to PostgreSQL rules. |
| 322 | // Does not expand params like ?TableAlias etc. |
no test coverage detected